diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/fs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 1ce006a24f49..9eef64f23a75 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
| @@ -1433,6 +1433,13 @@ struct super_block { | |||
| 1433 | struct hlist_head s_pins; | 1433 | struct hlist_head s_pins; |
| 1434 | 1434 | ||
| 1435 | /* | 1435 | /* |
| 1436 | * Owning user namespace and default context in which to | ||
| 1437 | * interpret filesystem uids, gids, quotas, device nodes, | ||
| 1438 | * xattrs and security labels. | ||
| 1439 | */ | ||
| 1440 | struct user_namespace *s_user_ns; | ||
| 1441 | |||
| 1442 | /* | ||
| 1436 | * Keep the lru lists last in the structure so they always sit on their | 1443 | * Keep the lru lists last in the structure so they always sit on their |
| 1437 | * own individual cachelines. | 1444 | * own individual cachelines. |
| 1438 | */ | 1445 | */ |
| @@ -2056,6 +2063,11 @@ void deactivate_locked_super(struct super_block *sb); | |||
| 2056 | int set_anon_super(struct super_block *s, void *data); | 2063 | int set_anon_super(struct super_block *s, void *data); |
| 2057 | int get_anon_bdev(dev_t *); | 2064 | int get_anon_bdev(dev_t *); |
| 2058 | void free_anon_bdev(dev_t); | 2065 | void free_anon_bdev(dev_t); |
| 2066 | struct super_block *sget_userns(struct file_system_type *type, | ||
| 2067 | int (*test)(struct super_block *,void *), | ||
| 2068 | int (*set)(struct super_block *,void *), | ||
| 2069 | int flags, struct user_namespace *user_ns, | ||
| 2070 | void *data); | ||
| 2059 | struct super_block *sget(struct file_system_type *type, | 2071 | struct super_block *sget(struct file_system_type *type, |
| 2060 | int (*test)(struct super_block *,void *), | 2072 | int (*test)(struct super_block *,void *), |
| 2061 | int (*set)(struct super_block *,void *), | 2073 | int (*set)(struct super_block *,void *), |
