commit | 41b02e1f9bb87b07d792b64aaeb7af3d00d69cd2 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Jul 26 11:31:14 2011 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue Jul 26 11:31:14 2011 -0700 |
tree | 87c9524ff96cbff2ff29d659cbefd516b553ca1f | |
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>