diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-01-27 13:07:10 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 12:16:10 +0100 |
commit | cdde7c43513de7d8baec3ad7f6a01a177e00e968 (patch) | |
tree | 4baf1a7202439a9fb41864087219c07dfa17f167 /fs/ceph/dir.c | |
parent | f5d55f03973f79a008bf8635452849f8ef589c23 (diff) | |
download | lwn-cdde7c43513de7d8baec3ad7f6a01a177e00e968.tar.gz lwn-cdde7c43513de7d8baec3ad7f6a01a177e00e968.zip |
ceph: call update_dentry_lease even when r_locked dir is not set
We don't really require that the parent be locked in order to update the
lease on a dentry. Lease info is protected by the d_lock. In the event
that the parent is not locked in ceph_fill_trace, and we have both
parent and target info, go ahead and update the dentry lease.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph/dir.c')
0 files changed, 0 insertions, 0 deletions