Commit 8842b3be authored by Sage Weil's avatar Sage Weil
Browse files

ceph: clean up useless d_parent checks



d_parent is never NULL, and IS_ROOT() is the proper way to check for a
(non-self-referential) parent.

Reported-by: default avatarAl Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: default avatarSage Weil <sage@inktank.com>
parent a2a32584
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment