aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c
index aed8fda3302..7505b4f1f59 100644
--- a/fs/ceph/dir.c
+++ b/fs/ceph/dir.c
@@ -170,11 +170,11 @@ more:
170 spin_lock(&inode->i_lock); 170 spin_lock(&inode->i_lock);
171 spin_lock(&dcache_lock); 171 spin_lock(&dcache_lock);
172 172
173 last = dentry;
174
173 if (err < 0) 175 if (err < 0)
174 goto out_unlock; 176 goto out_unlock;
175 177
176 last = dentry;
177
178 p = p->prev; 178 p = p->prev;
179 filp->f_pos++; 179 filp->f_pos++;
180 180