diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-07-25 01:48:30 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-25 10:53:45 -0700 |
commit | a9bd4a3e070ba7494f154e1a11687a8a957d88dc (patch) | |
tree | 6e2736fc369308e417f61d8d25c5079136073cb4 | |
parent | 881adb85358309ea9c6f707394002719982ec607 (diff) | |
download | op-kernel-dev-a9bd4a3e070ba7494f154e1a11687a8a957d88dc.zip op-kernel-dev-a9bd4a3e070ba7494f154e1a11687a8a957d88dc.tar.gz |
proc: remove pathetic remount code
MS_RMT_MASK will unmask changes in do_remount_sb() anyway.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/proc/inode.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 354c084..02eca2e 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -111,19 +111,12 @@ int __init proc_init_inodecache(void) return 0; } -static int proc_remount(struct super_block *sb, int *flags, char *data) -{ - *flags |= MS_NODIRATIME; - return 0; -} - static const struct super_operations proc_sops = { .alloc_inode = proc_alloc_inode, .destroy_inode = proc_destroy_inode, .drop_inode = generic_delete_inode, .delete_inode = proc_delete_inode, .statfs = simple_statfs, - .remount_fs = proc_remount, }; static void __pde_users_dec(struct proc_dir_entry *pde) |