Skip to content

Commit a9bd4a3

Browse files
Alexey Dobriyantorvalds
authored andcommitted
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>
1 parent 881adb8 commit a9bd4a3

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎fs/proc/inode.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,12 @@ int __init proc_init_inodecache(void)
111111
return 0;
112112
}
113113

114-
static int proc_remount(struct super_block *sb, int *flags, char *data)
115-
{
116-
*flags |= MS_NODIRATIME;
117-
return 0;
118-
}
119-
120114
static const struct super_operations proc_sops = {
121115
.alloc_inode = proc_alloc_inode,
122116
.destroy_inode = proc_destroy_inode,
123117
.drop_inode = generic_delete_inode,
124118
.delete_inode = proc_delete_inode,
125119
.statfs = simple_statfs,
126-
.remount_fs = proc_remount,
127120
};
128121

129122
static void __pde_users_dec(struct proc_dir_entry *pde)

0 commit comments

Comments
 (0)