diff options
author | Yan, Zheng | 2019-01-09 11:07:02 +0800 |
---|---|---|
committer | Ilya Dryomov | 2019-03-05 18:55:16 +0100 |
commit | 08796873a5183bfaab52a3bd899fe82f9e64be94 (patch) | |
tree | af3e31c0d12b4b55ca3bf558c1538a0bff9961b2 /fs/ceph/inode.c | |
parent | b37fe1f923fb4b17dc7d63406ec8dc67f13c2799 (diff) |
ceph: support getting ceph.dir.pin vxattr
Link: http://tracker.ceph.com/issues/37576
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/inode.c')
-rw-r--r-- | fs/ceph/inode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/inode.c b/fs/ceph/inode.c index 7f82ceff510a..e6012de58aae 100644 --- a/fs/ceph/inode.c +++ b/fs/ceph/inode.c @@ -877,6 +877,7 @@ static int fill_inode(struct inode *inode, struct page *locked_page, ci->i_rbytes = le64_to_cpu(info->rbytes); ci->i_rfiles = le64_to_cpu(info->rfiles); ci->i_rsubdirs = le64_to_cpu(info->rsubdirs); + ci->i_dir_pin = iinfo->dir_pin; ceph_decode_timespec64(&ci->i_rctime, &info->rctime); } } |