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)
commit17089a29a25a3bfe8d14520cd866b7d635ffe5ba
tree9f95e42cf5a06bd36089d7f81f47d23ba2b6530d
parent74adf83f5d7720925499b4938f930591f947b660
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