aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-04-02 14:34:06 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-29 23:28:33 -0400
commitb0b0382bb4904965a9e9fca77ad87514dfda0d1c (patch)
treedc46873fa74e0d194e4a2571b16f0767e1919ae8 /fs/ceph
parent6d42e7e9f6d86ed4dfacde75a6cf515068f9749c (diff)
->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>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/export.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ceph/export.c b/fs/ceph/export.c
index fbb2a643ef10..4f9234c6da61 100644
--- a/fs/ceph/export.c
+++ b/fs/ceph/export.c
@@ -247,7 +247,9 @@ static struct dentry *ceph_fh_to_parent(struct super_block *sb,
247} 247}
248 248
249const struct export_operations ceph_export_ops = { 249const struct export_operations ceph_export_ops = {
250#ifdef CEPH_BREAKAGE_FIXED
250 .encode_fh = ceph_encode_fh, 251 .encode_fh = ceph_encode_fh,
252#endif
251 .fh_to_dentry = ceph_fh_to_dentry, 253 .fh_to_dentry = ceph_fh_to_dentry,
252 .fh_to_parent = ceph_fh_to_parent, 254 .fh_to_parent = ceph_fh_to_parent,
253}; 255};