]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: mark nfs_page reqs with flag for extra ref
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 11 Jul 2014 14:20:45 +0000 (10:20 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 12 Jul 2014 20:51:41 +0000 (16:51 -0400)
commit380f4b7d8faf3fc742a7db822deb7c1a81ec3f17
tree9f95e42cf5a06bd36089d7f81f47d23ba2b6530d
parentdc95fc17fa792ea703b449aa80f67148cfa99944
nfs: mark nfs_page reqs with flag for extra ref

Change the use of PG_INODE_REF - set it when taking extra reference on
subrequests and take care to only release once for each request.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pagelist.c
fs/nfs/write.c