->encode_fh() API change
pass inode + parent's inode or NULL instead of dentry + bool saying whether we want the parent or not. NOTE: that needs ceph fix folded in. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
6d42e7e9f6
commit
b0b0382bb4
16 changed files with 93 additions and 139 deletions
|
@ -165,8 +165,8 @@ struct fid {
|
|||
*/
|
||||
|
||||
struct export_operations {
|
||||
int (*encode_fh)(struct dentry *de, __u32 *fh, int *max_len,
|
||||
int connectable);
|
||||
int (*encode_fh)(struct inode *inode, __u32 *fh, int *max_len,
|
||||
struct inode *parent);
|
||||
struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid,
|
||||
int fh_len, int fh_type);
|
||||
struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue