aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ceph/dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index 4f7467961b09..32ef54367224 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -131,6 +131,7 @@ more:
131 goto out_unlock; 131 goto out_unlock;
132 } 132 }
133 if (!d_unhashed(dentry) && dentry->d_inode && 133 if (!d_unhashed(dentry) && dentry->d_inode &&
134 ceph_snap(dentry->d_inode) != CEPH_SNAPDIR &&
134 filp->f_pos <= di->offset) 135 filp->f_pos <= di->offset)
135 break; 136 break;
136 dout(" skipping %p %.*s at %llu (%llu)%s%s\n", dentry, 137 dout(" skipping %p %.*s at %llu (%llu)%s%s\n", dentry,