diff options
author | akpm@linux-foundation.org <akpm@linux-foundation.org> | 2008-02-08 07:21:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:41 -0500 |
commit | 680d794babebc74484c141448baa9b95b211cf5e (patch) | |
tree | fa8b9c085fceaed12b54ea20a8c04696c750053e /include/linux/shmem_fs.h | |
parent | 90d09e141bb23bf0df5e31c40fb3175c17e8bda2 (diff) |
mount options: fix tmpfs
Add .show_options super operation to tmpfs.
Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/shmem_fs.h')
-rw-r--r-- | include/linux/shmem_fs.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/shmem_fs.h b/include/linux/shmem_fs.h index f3c51899117f..8d5fb36ea047 100644 --- a/include/linux/shmem_fs.h +++ b/include/linux/shmem_fs.h | |||
@@ -30,9 +30,12 @@ struct shmem_sb_info { | |||
30 | unsigned long free_blocks; /* How many are left for allocation */ | 30 | unsigned long free_blocks; /* How many are left for allocation */ |
31 | unsigned long max_inodes; /* How many inodes are allowed */ | 31 | unsigned long max_inodes; /* How many inodes are allowed */ |
32 | unsigned long free_inodes; /* How many are left for allocation */ | 32 | unsigned long free_inodes; /* How many are left for allocation */ |
33 | spinlock_t stat_lock; /* Serialize shmem_sb_info changes */ | ||
34 | uid_t uid; /* Mount uid for root directory */ | ||
35 | gid_t gid; /* Mount gid for root directory */ | ||
36 | mode_t mode; /* Mount mode for root directory */ | ||
33 | int policy; /* Default NUMA memory alloc policy */ | 37 | int policy; /* Default NUMA memory alloc policy */ |
34 | nodemask_t policy_nodes; /* nodemask for preferred and bind */ | 38 | nodemask_t policy_nodes; /* nodemask for preferred and bind */ |
35 | spinlock_t stat_lock; | ||
36 | }; | 39 | }; |
37 | 40 | ||
38 | static inline struct shmem_inode_info *SHMEM_I(struct inode *inode) | 41 | static inline struct shmem_inode_info *SHMEM_I(struct inode *inode) |