From: Weston Andros Adamson Date: Fri, 11 Jul 2014 14:20:46 +0000 (-0400) Subject: nfs: nfs_page should take a ref on the head req X-Git-Tag: omap-for-v3.17/fixes-against-rc2~261^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85710a837c2026aae80b7c64187edf1f10027b0b;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed