diff options
author | 2016-04-28 15:17:40 +0800 | |
---|---|---|
committer | 2016-05-26 01:15:35 +0200 | |
commit | 8974eebd38737c9534d81c4131c5fdb1fe24d3e9 (patch) | |
tree | 97e2d6f1fa805e89b18f833818422a3beac11c25 /fs/ceph/mds_client.h | |
parent | ceph: define 'end/complete' in readdir reply as bit flags (diff) | |
download | linux-8974eebd38737c9534d81c4131c5fdb1fe24d3e9.tar.gz linux-8974eebd38737c9534d81c4131c5fdb1fe24d3e9.tar.bz2 linux-8974eebd38737c9534d81c4131c5fdb1fe24d3e9.zip |
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/mds_client.h')
-rw-r--r-- | fs/ceph/mds_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h index 2a865812a41b..4ce19d852657 100644 --- a/fs/ceph/mds_client.h +++ b/fs/ceph/mds_client.h @@ -52,6 +52,7 @@ struct ceph_mds_reply_dir_entry { u32 name_len; struct ceph_mds_reply_lease *lease; struct ceph_mds_reply_info_in inode; + loff_t offset; }; /* |