]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/autofs/inode.c
mount options: fix autofs
[linux-2.6-omap-h63xx.git] / fs / autofs / inode.c
index 708bdb89fea14782c625e14c04e63902003b442b..dda510d31f840dbba96834619a668f723bc99e16 100644 (file)
@@ -54,6 +54,7 @@ out_kill_sb:
 
 static const struct super_operations autofs_sops = {
        .statfs         = simple_statfs,
+       .show_options   = generic_show_options,
 };
 
 enum {Opt_err, Opt_fd, Opt_uid, Opt_gid, Opt_pgrp, Opt_minproto, Opt_maxproto};
@@ -140,6 +141,8 @@ int autofs_fill_super(struct super_block *s, void *data, int silent)
        int minproto, maxproto;
        pid_t pgid;
 
+       save_mount_options(s, data);
+
        sbi = kzalloc(sizeof(*sbi), GFP_KERNEL);
        if (!sbi)
                goto fail_unlock;