summaryrefslogtreecommitdiffstats
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorPavel Shilovsky <piastry@etersoft.ru>2011-10-21 08:14:04 +0200
committerSteve French <smfrench@gmail.com>2011-10-21 16:21:04 +0200
commita2d6b6cacb4fd4494b4037c01abb1332cefbb37b (patch)
tree0357c72de853c8f7760200e617712f8ac2999fb7 /fs/cifs/inode.c
parent[CIFS] Fixup trivial checkpatch warning (diff)
downloadlinux-a2d6b6cacb4fd4494b4037c01abb1332cefbb37b.tar.xz
linux-a2d6b6cacb4fd4494b4037c01abb1332cefbb37b.zip
CIFS: Fix error handling in cifs_readv_complete
In cifs_readv_receive we don't update rdata->result to error value after kmap'ing a page. We should kunmap the page in the no error case only. Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/inode.c')
0 files changed, 0 insertions, 0 deletions