mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] prune_one_dentry() tweaks
- Add description of d_lock handling to comments over prune_one_dentry(). - It has three callsites - uninline it, saving 200 bytes of text. Cc: Jan Blunck <[email protected]> Cc: Kirill Korotaev <[email protected]> Cc: Olaf Hering <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
0feae5c47a
commit
d702ccb342
1 changed files with 5 additions and 4 deletions
|
|
@ -359,12 +359,13 @@ restart:
|
|||
}
|
||||
|
||||
/*
|
||||
* Throw away a dentry - free the inode, dput the parent.
|
||||
* This requires that the LRU list has already been
|
||||
* removed.
|
||||
* Throw away a dentry - free the inode, dput the parent. This requires that
|
||||
* the LRU list has already been removed.
|
||||
*
|
||||
* Called with dcache_lock, drops it and then regains.
|
||||
* Called with dentry->d_lock held, drops it.
|
||||
*/
|
||||
static inline void prune_one_dentry(struct dentry * dentry)
|
||||
static void prune_one_dentry(struct dentry * dentry)
|
||||
{
|
||||
struct dentry * parent;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue