commit | 7da4b49a0ec481239d9cd51f7053aa8e4e191fa7 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Fri Oct 15 15:34:00 2010 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Mon Oct 18 01:04:23 2010 +0000 |
tree | 97f451d75ede084bb7f1c8d2bc843680763f2e16 | |
parent | 15886177e412db00aa86155fe72608c4ebf5a08f [diff] |
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 <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>