diff options
author | Sage Weil <sage@newdream.net> | 2010-07-22 13:49:08 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-07-23 10:02:05 -0700 |
commit | 252af5214682191e34e57204e1a31924fb82c207 (patch) | |
tree | 56834ab133d2b466b35dfff0abd4db71a9f658ad /fs/filesystems.c | |
parent | a0dff78dab0ff8d78bd5c9e33c105cf1292f2282 (diff) | |
download | op-kernel-dev-252af5214682191e34e57204e1a31924fb82c207.zip op-kernel-dev-252af5214682191e34e57204e1a31924fb82c207.tar.gz |
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: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions