Skip to content

Commit

Permalink
proc: remove pathetic remount code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Jul 25, 2008
1 parent 881adb8 commit a9bd4a3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fs/proc/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a9bd4a3

Please sign in to comment.