]> 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)
commit7101e8e2be6e5b807f51f19cdc39322b46d02147
tree2ab7abf527707b078012164a40af12ee02641aff
parentada318705412e59d17396a702ebff677f022142b
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