diff options
Diffstat (limited to 'fs/zonefs/zonefs.h')
-rw-r--r-- | fs/zonefs/zonefs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/zonefs/zonefs.h b/fs/zonefs/zonefs.h index 2d626e18b141..f88466a4158b 100644 --- a/fs/zonefs/zonefs.h +++ b/fs/zonefs/zonefs.h @@ -64,6 +64,11 @@ struct zonefs_zone { /* Write pointer offset in the zone (sequential zones only, bytes) */ loff_t z_wpoffset; + + /* Saved inode uid, gid and access rights */ + umode_t z_mode; + kuid_t z_uid; + kgid_t z_gid; }; /* @@ -265,6 +270,10 @@ static inline void zonefs_io_error(struct inode *inode, bool write) mutex_unlock(&zi->i_truncate_mutex); } +/* In super.c */ +extern const struct inode_operations zonefs_dir_inode_operations; +extern const struct file_operations zonefs_dir_operations; + /* In file.c */ extern const struct address_space_operations zonefs_file_aops; extern const struct file_operations zonefs_file_operations; |