Skip to content
Commit 252af521 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: fix d_release dop for snapdir, snapped dentries



We need to set the d_release dop for snapdir and snapped dentries so that
the ceph_dentry_info struct gets released.  We also use the dcache to
cache readdir results when possible, which only works if we know when
dentries are dropped from the cache.  Since we don't use the dcache for
readdir in the hidden snapdir, avoid that case in ceph_dentry_release.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent a0dff78d
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