acct: get rid of acct_list
Put these suckers on per-vfsmount and per-superblock lists instead. Note: right now it's still acct_lock for everything, but that's going to change. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -703,7 +703,7 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force)
|
||||
#endif
|
||||
|
||||
if (flags & MS_RDONLY)
|
||||
acct_auto_close(sb);
|
||||
acct_auto_close(&sb->s_pins);
|
||||
shrink_dcache_sb(sb);
|
||||
|
||||
remount_ro = (flags & MS_RDONLY) && !(sb->s_flags & MS_RDONLY);
|
||||
|
Reference in New Issue
Block a user