tmpfs: per-superblock i_ino support
[linux-2.6-microblaze.git] / include / linux / shmem_fs.h
index 7a35a69..eb62869 100644 (file)
@@ -36,6 +36,8 @@ struct shmem_sb_info {
        unsigned char huge;         /* Whether to try for hugepages */
        kuid_t uid;                 /* Mount uid for root directory */
        kgid_t gid;                 /* Mount gid for root directory */
+       ino_t next_ino;             /* The next per-sb inode number to use */
+       ino_t __percpu *ino_batch;  /* The next per-cpu inode number to use */
        struct mempolicy *mpol;     /* default memory policy for mappings */
        spinlock_t shrinklist_lock;   /* Protects shrinklist */
        struct list_head shrinklist;  /* List of shinkable inodes */