summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2016-04-28 15:17:40 +0800
committerIlya Dryomov <idryomov@gmail.com>2016-05-26 01:15:35 +0200
commit8974eebd38737c9534d81c4131c5fdb1fe24d3e9 (patch)
tree97e2d6f1fa805e89b18f833818422a3beac11c25 /fs/ceph/super.h
parent956d39d631dbcf7b57854873a24e309047f2a7f5 (diff)
downloadop-kernel-dev-8974eebd38737c9534d81c4131c5fdb1fe24d3e9.zip
op-kernel-dev-8974eebd38737c9534d81c4131c5fdb1fe24d3e9.tar.gz
ceph: record 'offset' for each entry of readdir result
This is preparation for using hash value as dentry 'offset' Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 0ea8640..0628099 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -635,7 +635,6 @@ struct ceph_file_info {
struct ceph_mds_request *last_readdir;
/* readdir: position within a frag */
- unsigned offset; /* offset of last chunk, adjusted for . and .. */
unsigned next_offset; /* offset of next chunk (last_name's + 1) */
char *last_name; /* last entry in previous chunk */
long long dir_release_count;
OpenPOWER on IntegriCloud