diff options
author | Sage Weil <sage@newdream.net> | 2011-07-26 11:31:14 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-07-26 11:31:14 -0700 |
commit | 41b02e1f9bb87b07d792b64aaeb7af3d00d69cd2 (patch) | |
tree | 87c9524ff96cbff2ff29d659cbefd516b553ca1f /fs/ceph/strings.c | |
parent | 4f1772645296a230e04f5c53e79cfb6f841ce634 (diff) |
ceph: explicitly reference rename old_dentry parent dir in request
We carry a pin on the parent directory for the rename source and dest
dentries. For the source it's r_locked_dir; we need to explicitly
reference the old_dentry parent as well, since the dentry's d_parent may
change between when the request was created and pinned and when it is
freed.
Reviewed-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/strings.c')
0 files changed, 0 insertions, 0 deletions