aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/dir.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index a8d2aacc612..495825268cb 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -493,7 +493,6 @@ struct dentry *ceph_finish_lookup(struct ceph_mds_request *req,
493 493
494 /* .snap dir? */ 494 /* .snap dir? */
495 if (err == -ENOENT && 495 if (err == -ENOENT &&
496 ceph_vino(parent).ino != CEPH_INO_ROOT && /* no .snap in root dir */
497 strcmp(dentry->d_name.name, 496 strcmp(dentry->d_name.name,
498 fsc->mount_options->snapdir_name) == 0) { 497 fsc->mount_options->snapdir_name) == 0) {
499 struct inode *inode = ceph_get_snapdir(parent); 498 struct inode *inode = ceph_get_snapdir(parent);