diff options
author | Borislav Petkov <bp@suse.de> | 2016-11-23 21:13:40 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-11-23 21:13:40 +0100 |
commit | 627bc29ed90ca50dbf7a4e7b43c267a2920bbadb (patch) | |
tree | 838d8aca5a04166b6ad74a2ef0f5291224768501 /fs/ceph/inode.c | |
parent | 044e7a414be9ba20826e5fd482214686193fe7b6 (diff) | |
parent | 3f5a7896a5096fd50030a04d4c3f28a7441e30a5 (diff) |
Merge tip:ras/core to pick up dependent changes
tip:ras/core contains the respective Fam17h x86 RAS bits which
amd64_edac is going to use. So merge it into the EDAC branch.
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r-- | fs/ceph/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index bca1b49c1c4b..ef4d04647325 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -1511,7 +1511,8 @@ int ceph_readdir_prepopulate(struct ceph_mds_request *req, ceph_fill_dirfrag(d_inode(parent), rinfo->dir_dir); } - if (ceph_frag_is_leftmost(frag) && req->r_readdir_offset == 2) { + if (ceph_frag_is_leftmost(frag) && req->r_readdir_offset == 2 && + !(rinfo->hash_order && req->r_path2)) { /* note dir version at start of readdir so we can tell * if any dentries get dropped */ req->r_dir_release_cnt = atomic64_read(&ci->i_release_count); |