mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
make fs/{namespace,super}.c forget about acct.h
These externs belong in fs/internal.h. Rename (they are not acct-specific anymore) and move them over there. Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
efb170c228
commit
8fa1f1c2bd
5 changed files with 13 additions and 10 deletions
|
|
@ -22,7 +22,6 @@
|
|||
|
||||
#include <linux/export.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/acct.h>
|
||||
#include <linux/blkdev.h>
|
||||
#include <linux/mount.h>
|
||||
#include <linux/security.h>
|
||||
|
|
@ -707,7 +706,7 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force)
|
|||
if (remount_ro) {
|
||||
if (sb->s_pins.first) {
|
||||
up_write(&sb->s_umount);
|
||||
acct_auto_close(&sb->s_pins);
|
||||
sb_pin_kill(sb);
|
||||
down_write(&sb->s_umount);
|
||||
if (!sb->s_root)
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue