commit | 265ac90230257e9c035e4b0c63a0c11c5336e93c | [log] [tgz] |
---|---|---|
author | Nick Piggin <npiggin@suse.de> | Sun Oct 10 05:36:24 2010 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Oct 25 21:26:12 2010 -0400 |
tree | 7bb17007af9812137eb2060fd9ef979e049f7acd | |
parent | 312d3ca856d369bb04d0443846b85b4cdde6fa8a [diff] |
fs: improve DCACHE_REFERENCED usage dentry referenced bit is only set when installing the dentry back onto the LRU. However with lazy LRU, the dentry can already be on the LRU list at dput time, thus missing out on setting the referenced bit. Fix this. Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>