From 709dba270f3b30fa552aa0b999ca74adb4b1203e Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 8 Feb 2008 04:21:38 -0800 Subject: [PATCH] --- yaml --- r: 84789 b: refs/heads/master c: 979db7542d9c73db0d770110edb31c1252ef6c4a h: refs/heads/master i: 84787: deee30a6a3ebe11099ed519b81ad6098297339e9 v: v3 --- [refs] | 2 +- trunk/fs/autofs/inode.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b54e5fffa8b4..631cb4284515 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: aef97cb9031755422c23cc64f7a089a0fbbcca7a +refs/heads/master: 979db7542d9c73db0d770110edb31c1252ef6c4a diff --git a/trunk/fs/autofs/inode.c b/trunk/fs/autofs/inode.c index 708bdb89fea1..dda510d31f84 100644 --- a/trunk/fs/autofs/inode.c +++ b/trunk/fs/autofs/inode.c @@ -54,6 +54,7 @@ void autofs_kill_sb(struct super_block *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;