CIFS: Implement cifs_strict_writev (try #4)
authorPavel Shilovsky <piastryyy@gmail.com>
Mon, 24 Jan 2011 19:16:35 +0000 (14:16 -0500)
committerSteve French <sfrench@us.ibm.com>
Tue, 25 Jan 2011 19:30:13 +0000 (19:30 +0000)
commit72432ffcf555decbbae47f1be338e1d2f210aa69
tree4293cb6e5b880071099756b7523f8f36bb7e16cc
parent93c100c0b423266c0ee28497e90fdf27c05e6b8e
CIFS: Implement cifs_strict_writev (try #4)

If we don't have Exclusive oplock we write a data to the server.
Also set invalidate_mapping flag on the inode if we wrote something
to the server. Add cifs_iovec_write to let the client write iovec
buffers through CIFSSMBWrite2.

Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsfs.h
fs/cifs/cifsproto.h
fs/cifs/file.c