diff options
author | Sage Weil <sage@newdream.net> | 2010-07-22 22:49:08 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-07-23 19:02:05 +0200 |
commit | 252af5214682191e34e57204e1a31924fb82c207 (patch) | |
tree | 56834ab133d2b466b35dfff0abd4db71a9f658ad /fs/aio.c | |
parent | ceph: avoid dcache readdir for snapdir (diff) | |
download | linux-252af5214682191e34e57204e1a31924fb82c207.tar.xz linux-252af5214682191e34e57204e1a31924fb82c207.zip |
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/aio.c')
0 files changed, 0 insertions, 0 deletions