commit | feab6ac25dbfe3ab96299cb741925dc8d2da0caf | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Wed May 22 17:26:27 2019 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Jul 08 14:01:42 2019 +0200 |
tree | 4dd320967b6e66baf9d31b0c7ce7ffcae25b0ea7 | |
parent | 543212b3a4a4abe0cbc610c704cc3cb85315c367 [diff] |
ceph: fix dir_lease_is_valid() It should call __ceph_dentry_dir_lease_touch() under dentry->d_lock. Besides, ceph_dentry(dentry) can be NULL when called by LOOKUP_RCU d_revalidate() Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>