aboutsummaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2016-10-26 15:58:22 -0700
committerAmit Pundir <amit.pundir@linaro.org>2019-02-15 12:34:40 +0530
commit20c0639e482473d67cafa7ac351ab61cdda39236 (patch)
treec77e5afda6eae1e2fe9da45806558fc8c4e703de /fs/internal.h
parent9044dc844c427d742047cdda3e4f557537cb4dc5 (diff)
downloadkernel_replicant_linux-20c0639e482473d67cafa7ac351ab61cdda39236.tar.gz
kernel_replicant_linux-20c0639e482473d67cafa7ac351ab61cdda39236.tar.bz2
kernel_replicant_linux-20c0639e482473d67cafa7ac351ab61cdda39236.zip
ANDROID: vfs: Allow filesystems to access their private mount data
Now we pass the vfsmount when mounting and remounting. This allows the filesystem to actually set up the mount specific data, although we can't quite do anything with it yet. show_options is expanded to include data that lives with the mount. To avoid changing existing filesystems, these have been added as new vfs functions. Bug: 120446149 Change-Id: If80670bfad9f287abb8ac22457e1b034c9697097 Signed-off-by: Daniel Rosenberg <drosen@google.com>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h
index d410186bc369..a1ac9427243f 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -100,9 +100,11 @@ extern struct file *alloc_empty_file_noaccount(int, const struct cred *);
* super.c
*/
extern int do_remount_sb(struct super_block *, int, void *, int);
+extern int do_remount_sb2(struct vfsmount *, struct super_block *, int,
+ void *, int);
extern bool trylock_super(struct super_block *sb);
extern struct dentry *mount_fs(struct file_system_type *,
- int, const char *, void *);
+ int, const char *, struct vfsmount *, void *);
extern struct super_block *user_get_super(dev_t);
/*