cifs: Do not take a reference to the page in cifs_readpage_worker()
authorSachin Prabhu <sprabhu@redhat.com>
Fri, 13 Sep 2013 13:11:56 +0000 (14:11 +0100)
committerSteve French <smfrench@gmail.com>
Fri, 13 Sep 2013 21:24:43 +0000 (16:24 -0500)
commita9e9b7bc15a32ec5b0679704e70f3ffeecfaadd8
tree2ab7abf527707b078012164a40af12ee02641aff
parentbdbdfdef5766c2a60185e946df242f1bc0d37c09
cifs: Do not take a reference to the page in cifs_readpage_worker()

We do not need to take a reference to the pagecache in
cifs_readpage_worker() since the calling function will have already
taken one before passing the pointer to the page as an argument to the
function.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/file.c