summaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@primarydata.com>2014-07-11 10:20:46 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-07-12 16:51:41 -0400
commit85710a837c2026aae80b7c64187edf1f10027b0b (patch)
tree9b8ac697b4bc8aa635a6b97432bc76113703a85a /fs/mpage.c
parent17089a29a25a3bfe8d14520cd866b7d635ffe5ba (diff)
downloadlinux-85710a837c2026aae80b7c64187edf1f10027b0b.tar.gz
linux-85710a837c2026aae80b7c64187edf1f10027b0b.tar.bz2
linux-85710a837c2026aae80b7c64187edf1f10027b0b.zip
nfs: nfs_page should take a ref on the head req
nfs_pages that aren't the the head of a group must take a reference on the head as long as ->wb_head is set to it. This stops the head from hitting a refcount of 0 while there is still an active nfs_page for the page group. This avoids kref warnings in the writeback code when the page group head is found and referenced. Signed-off-by: Weston Andros Adamson <dros@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions