commit | 92cf765237e2787eb168096305c448caf25ac7f8 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Fri Dec 17 09:53:41 2010 -0800 |
committer | Sage Weil <sage@newdream.net> | Fri Dec 17 09:53:48 2010 -0800 |
tree | 089f6d5a0f979ca858295cbf616ee2e85a62680f | |
parent | ab226e21ad34f6ef52e00d2ab399d2364b4cdfee [diff] |
ceph: fix null pointer dereference in ceph_init_dentry for nfs reexport The fh_to_dentry etc. methods use ceph_init_dentry(), which assumes that d_parent is defined. It isn't for those callers, so check! Signed-off-by: Sage Weil <sage@newdream.net>