From: Alexey Dobriyan Date: Fri, 25 Jul 2008 08:48:30 +0000 (-0700) Subject: proc: remove pathetic remount code X-Git-Tag: v2.6.27-rc1~279 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a9bd4a3e070ba7494f154e1a11687a8a957d88dc;p=linux-2.6-omap-h63xx.git proc: remove pathetic remount code MS_RMT_MASK will unmask changes in do_remount_sb() anyway. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 354c0848582..02eca2ed9dd 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)