mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
switch the IO-triggering parts of umount to fs_pin
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
59eda0e07f
commit
87b95ce096
3 changed files with 20 additions and 29 deletions
|
|
@ -2,6 +2,7 @@
|
|||
#include <linux/seq_file.h>
|
||||
#include <linux/poll.h>
|
||||
#include <linux/ns_common.h>
|
||||
#include <linux/fs_pin.h>
|
||||
|
||||
struct mnt_namespace {
|
||||
atomic_t count;
|
||||
|
|
@ -62,7 +63,8 @@ struct mount {
|
|||
int mnt_group_id; /* peer group identifier */
|
||||
int mnt_expiry_mark; /* true if marked for expiry */
|
||||
struct hlist_head mnt_pins;
|
||||
struct path mnt_ex_mountpoint;
|
||||
struct fs_pin mnt_umount;
|
||||
struct dentry *mnt_ex_mountpoint;
|
||||
};
|
||||
|
||||
#define MNT_NS_INTERNAL ERR_PTR(-EINVAL) /* distinct from any mnt_namespace */
|
||||
|
|
|
|||
Loading…
Reference in a new issue