• Sage Weil's avatar
    ceph: fix d_release dop for snapdir, snapped dentries · 252af521
    Sage Weil authored
    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>
    252af521
dir.c 34 KB