commit | 97d79b403ef03f729883246208ef5d8a2ebc4d68 | [log] [tgz] |
---|---|---|
author | Yehuda Sadeh <yehuda@hq.newdream.net> | Tue Jan 18 13:37:28 2011 -0800 |
committer | Sage Weil <sage@newdream.net> | Sat Feb 19 19:59:14 2011 -0800 |
tree | 6badfd07e1ae880bd30f99dfb55227d3210b6e3a | |
parent | e8e1ba96b207deba1339b09983f8b29f92cb1497 [diff] |
ceph: keep reference to parent inode on ceph_dentry When creating a new dentry we now hold a reference to the parent inode in the ceph_dentry. This is required due to the new RCU changes from 949854d0, which set dentry->d_parent to NULL in d_kill before calling the ->release() callback. If/when that behavior is changed, we can revert this hack. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>