mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
This commit is contained in:
parent
54a4d58a64
commit
215752fce3
6 changed files with 62 additions and 85 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue