]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/shmem_fs.h
PM: Handle device registrations during suspend/resume
[linux-2.6-omap-h63xx.git] / include / linux / shmem_fs.h
index f3c51899117f5e83abb3a44c5b94ff11574df382..8d5fb36ea04741488c7233c6f9171075117f9a65 100644 (file)
@@ -30,9 +30,12 @@ struct shmem_sb_info {
        unsigned long free_blocks;  /* How many are left for allocation */
        unsigned long max_inodes;   /* How many inodes are allowed */
        unsigned long free_inodes;  /* How many are left for allocation */
+       spinlock_t stat_lock;       /* Serialize shmem_sb_info changes */
+       uid_t uid;                  /* Mount uid for root directory */
+       gid_t gid;                  /* Mount gid for root directory */
+       mode_t mode;                /* Mount mode for root directory */
        int policy;                 /* Default NUMA memory alloc policy */
        nodemask_t policy_nodes;    /* nodemask for preferred and bind */
-       spinlock_t    stat_lock;
 };
 
 static inline struct shmem_inode_info *SHMEM_I(struct inode *inode)