]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cifs: rename cifs_readdir_lookup to cifs_prime_dcache and make it void return
authorJeff Layton <jlayton@redhat.com>
Mon, 3 Dec 2012 11:05:37 +0000 (06:05 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:19:05 +0000 (09:19 -0800)
commit862dc356d36fd84c5673af61364447bd38b453c6
tree2e91d516d367cce43e26965dacbc5b861ce4b566
parent76e59b0f305a6f2e2ebcfdb8c14750d08ff037ba
cifs: rename cifs_readdir_lookup to cifs_prime_dcache and make it void return

commit eb1b3fa5cdb9c27bdec8f262acf757a06588eb2d upstream.

The caller doesn't do anything with the dentry, so there's no point in
holding a reference to it on return. Also cifs_prime_dcache better
describes the actual purpose of the function.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/readdir.c