diff options
Diffstat (limited to 'fs/ceph/export.c')
-rw-r--r-- | fs/ceph/export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/export.c b/fs/ceph/export.c index ca3ab3f9ca70..16796be53ca5 100644 --- a/fs/ceph/export.c +++ b/fs/ceph/export.c | |||
@@ -81,7 +81,7 @@ static int ceph_encode_fh(struct inode *inode, u32 *rawfh, int *max_len, | |||
81 | if (parent_inode) { | 81 | if (parent_inode) { |
82 | /* nfsd wants connectable */ | 82 | /* nfsd wants connectable */ |
83 | *max_len = connected_handle_length; | 83 | *max_len = connected_handle_length; |
84 | type = 255; | 84 | type = FILEID_INVALID; |
85 | } else { | 85 | } else { |
86 | dout("encode_fh %p\n", dentry); | 86 | dout("encode_fh %p\n", dentry); |
87 | fh->ino = ceph_ino(inode); | 87 | fh->ino = ceph_ino(inode); |
@@ -90,7 +90,7 @@ static int ceph_encode_fh(struct inode *inode, u32 *rawfh, int *max_len, | |||
90 | } | 90 | } |
91 | } else { | 91 | } else { |
92 | *max_len = handle_length; | 92 | *max_len = handle_length; |
93 | type = 255; | 93 | type = FILEID_INVALID; |
94 | } | 94 | } |
95 | if (dentry) | 95 | if (dentry) |
96 | dput(dentry); | 96 | dput(dentry); |