cifs: cifs_write argument change and cleanup
authorJeff Layton <jlayton@redhat.com>
Fri, 15 Oct 2010 19:34:00 +0000 (15:34 -0400)
committerSteve French <sfrench@us.ibm.com>
Mon, 18 Oct 2010 01:04:23 +0000 (01:04 +0000)
Have cifs_write take a cifsFileInfo pointer instead of a filp. Since
cifsFileInfo holds references on the dentry, and that holds one to
the inode, we can eliminate some unneeded NULL pointer checks.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de>
Acked-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

No differences found