diff options
| author | 2008-02-14 19:38:45 -0800 | |
|---|---|---|
| committer | 2008-02-14 21:17:09 -0800 | |
| commit | 4a0962abd187df29b7d1378b2f372a55667d54c0 (patch) | |
| tree | dfd7e50cb1267e55b3082f6b0a1d612b88058baa /scripts/patch-kernel | |
| parent | d_path: Make d_path() use a struct path (diff) | |
dentries: Extract common code to remove dentry from lru
Extract the common code to remove a dentry from the lru into a new function
dentry_lru_remove().
Two call sites used list_del() instead of list_del_init(). AFAIK the
performance of both is the same. dentry_lru_remove() does a list_del_init().
As a result dentry->d_lru is now always empty when a dentry is freed.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
