]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf744b48584af31fd685eed8422baf05b0629f65a
tree4293cb6e5b880071099756b7523f8f36bb7e16cc
parent719d61065bd7833fc9a211655d1ec383019367c2
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