From: Jeff Layton Date: Fri, 15 Oct 2010 19:34:00 +0000 (-0400) Subject: cifs: cifs_write argument change and cleanup X-Git-Tag: v2.6.37-rc1~158^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da4b49a0ec481239d9cd51f7053aa8e4e191fa7;p=pandora-kernel.git cifs: cifs_write argument change and cleanup 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 Reviewed-by: Suresh Jayaraman Acked-by: Dave Kleikamp Signed-off-by: Steve French --- Reading git-diff-tree failed