]> git.baikalelectronics.ru Git - kernel.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)
commit976a5783b28e21c9cfba3f1f601be65614fecf66
tree0c469c74ae2125ba24aec681834364ea24bd7ce6
parent5c4037b2dd135c186337607eac3e2301269ed3d8
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