CIFS: Fix wrong pos argument of cifs_find_lock_conflict
authorPavel Shilovsky <piastry@etersoft.ru>
Fri, 14 Feb 2014 09:31:03 +0000 (13:31 +0400)
committerSteve French <smfrench@gmail.com>
Mon, 24 Feb 2014 02:54:50 +0000 (20:54 -0600)
commit6b1168e1617d9d4db73ef5276490627abf5adec4
tree0f1d310e6249e84edbed94bebb96b2f057fa1b41
parentf9b080803ec66f708309ceffab14ce879c302963
CIFS: Fix wrong pos argument of cifs_find_lock_conflict

and use generic_file_aio_write rather than __generic_file_aio_write
in cifs_writev.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/file.c