]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9db127ac10990a9b01fbb97b0c8dd1dd69c050e
tree2ab7abf527707b078012164a40af12ee02641aff
parent0f5153e0a65ad0b7eab7a051b9298b7366830a4f
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