]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cifs: clean up variables in cifs_unlink
authorJeff Layton <jlayton@redhat.com>
Tue, 16 Sep 2008 18:05:16 +0000 (14:05 -0400)
committerSteve French <sfrench@us.ibm.com>
Tue, 16 Sep 2008 20:14:34 +0000 (20:14 +0000)
commit5f0319a79043457d2555f059fac68c1d840ce381
tree0c469c74ae2125ba24aec681834364ea24bd7ce6
parent6bfb09a1005193be5c81ebac9f3ef85210142650
cifs: clean up variables in cifs_unlink

Change parameters to cifs_unlink to match the ones used in the generic
VFS. Add some local variables to cut down on the amount of struct
dereferencing that needs to be done, and eliminate some unneeded NULL
pointer checks on the parent directory inode. Finally, rename pTcon
to "tcon" to more closely match standard kernel coding style.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.h
fs/cifs/inode.c