]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - include/linux/shmem_fs.h
UBUNTU: SAUCE: Import aufs driver
[mirror_ubuntu-hirsute-kernel.git] / include / linux / shmem_fs.h
index a5a5d1d4d7b1d23681a7b7f88f9049b550d52416..390c6fc194a968057ccf92a7494221527be9ce18 100644 (file)
@@ -27,10 +27,13 @@ struct shmem_inode_info {
 };
 
 struct shmem_sb_info {
+       struct mutex idr_lock;
+       bool idr_nouse;
+       struct idr idr;             /* manages inode-number */
        unsigned long max_blocks;   /* How many blocks are allowed */
        struct percpu_counter used_blocks;  /* How many are allocated */
-       unsigned long max_inodes;   /* How many inodes are allowed */
-       unsigned long free_inodes;  /* How many are left for allocation */
+       int max_inodes;             /* How many inodes are allowed */
+       int free_inodes;            /* How many are left for allocation */
        spinlock_t stat_lock;       /* Serialize shmem_sb_info changes */
        umode_t mode;               /* Mount mode for root directory */
        unsigned char huge;         /* Whether to try for hugepages */