| .. | .. |
|---|
| 40 | 40 | int cfi_magic; /* magic number */ |
|---|
| 41 | 41 | struct file *cfi_container; /* container file for this cnode */ |
|---|
| 42 | 42 | unsigned int cfi_mapcount; /* nr of times this file is mapped */ |
|---|
| 43 | + bool cfi_access_intent; /* is access intent supported */ |
|---|
| 43 | 44 | }; |
|---|
| 44 | | - |
|---|
| 45 | | -#define CODA_FTOC(file) ((struct coda_file_info *)((file)->private_data)) |
|---|
| 46 | 45 | |
|---|
| 47 | 46 | /* flags */ |
|---|
| 48 | 47 | #define C_VATTR 0x1 /* Validity of vattr in inode */ |
|---|
| .. | .. |
|---|
| 54 | 53 | struct inode *coda_iget(struct super_block *sb, struct CodaFid *fid, struct coda_vattr *attr); |
|---|
| 55 | 54 | struct inode *coda_cnode_makectl(struct super_block *sb); |
|---|
| 56 | 55 | struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb); |
|---|
| 56 | +struct coda_file_info *coda_ftoc(struct file *file); |
|---|
| 57 | 57 | void coda_replace_fid(struct inode *, struct CodaFid *, struct CodaFid *); |
|---|
| 58 | 58 | |
|---|
| 59 | 59 | #endif |
|---|