diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-11 23:20:37 -0500 | 
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-02-26 02:46:07 -0500 | 
| commit | 4f522a247bc26d4ab5c8fc406ffffa8b3a77abe3 (patch) | |
| tree | ed3ca7fb7316f96e7aab23f9563523521bed3259 /fs/proc/base.c | |
| parent | 3592ac444017996f5a8ecf85856af0a8938e8fd1 (diff) | |
| download | olio-linux-3.10-4f522a247bc26d4ab5c8fc406ffffa8b3a77abe3.tar.xz olio-linux-3.10-4f522a247bc26d4ab5c8fc406ffffa8b3a77abe3.zip  | |
d_hash_and_lookup(): export, switch open-coded instances
* calling conventions change - ERR_PTR() is returned on ->d_hash() errors;
NULL is just for dcache miss now.
* exported, open-coded instances in ncpfs and cifs converted.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/base.c')
| -rw-r--r-- | fs/proc/base.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 760268d6cba..9d962555972 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -2618,6 +2618,7 @@ static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid)  	name.name = buf;  	name.len = snprintf(buf, sizeof(buf), "%d", pid); +	/* no ->d_hash() rejects on procfs */  	dentry = d_hash_and_lookup(mnt->mnt_root, &name);  	if (dentry) {  		shrink_dcache_parent(dentry);  |