diff options
Diffstat (limited to 'include/linux/exportfs.h')
-rw-r--r-- | include/linux/exportfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/exportfs.h b/include/linux/exportfs.h index 12291a7ee275..5b9b5b317180 100644 --- a/include/linux/exportfs.h +++ b/include/linux/exportfs.h | |||
@@ -83,6 +83,11 @@ enum fid_type { | |||
83 | * 64 bit parent inode number. | 83 | * 64 bit parent inode number. |
84 | */ | 84 | */ |
85 | FILEID_NILFS_WITH_PARENT = 0x62, | 85 | FILEID_NILFS_WITH_PARENT = 0x62, |
86 | |||
87 | /* | ||
88 | * Filesystems must not use 0xff file ID. | ||
89 | */ | ||
90 | FILEID_INVALID = 0xff, | ||
86 | }; | 91 | }; |
87 | 92 | ||
88 | struct fid { | 93 | struct fid { |
@@ -177,6 +182,8 @@ struct export_operations { | |||
177 | int (*commit_metadata)(struct inode *inode); | 182 | int (*commit_metadata)(struct inode *inode); |
178 | }; | 183 | }; |
179 | 184 | ||
185 | extern int exportfs_encode_inode_fh(struct inode *inode, struct fid *fid, | ||
186 | int *max_len, struct inode *parent); | ||
180 | extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, | 187 | extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, |
181 | int *max_len, int connectable); | 188 | int *max_len, int connectable); |
182 | extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, | 189 | extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid, |