hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/fs/coda/coda_fs_i.h
....@@ -40,9 +40,8 @@
4040 int cfi_magic; /* magic number */
4141 struct file *cfi_container; /* container file for this cnode */
4242 unsigned int cfi_mapcount; /* nr of times this file is mapped */
43
+ bool cfi_access_intent; /* is access intent supported */
4344 };
44
-
45
-#define CODA_FTOC(file) ((struct coda_file_info *)((file)->private_data))
4645
4746 /* flags */
4847 #define C_VATTR 0x1 /* Validity of vattr in inode */
....@@ -54,6 +53,7 @@
5453 struct inode *coda_iget(struct super_block *sb, struct CodaFid *fid, struct coda_vattr *attr);
5554 struct inode *coda_cnode_makectl(struct super_block *sb);
5655 struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb);
56
+struct coda_file_info *coda_ftoc(struct file *file);
5757 void coda_replace_fid(struct inode *, struct CodaFid *, struct CodaFid *);
5858
5959 #endif