NFSv4.1: pnfs_send_layoutreturn should use GFP_NOFS
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 5 Feb 2015 22:05:08 +0000 (17:05 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 6 Feb 2015 03:16:50 +0000 (22:16 -0500)
commite4af440aaf390ac1d39b26ef6cf4a28bcb6a5979
tree91732a637e2693aefa6f4fbba8daaf0e6cf34e4c
parent5a0ec8acb945e302ce819b4a9787796ccf284548
NFSv4.1: pnfs_send_layoutreturn should use GFP_NOFS

In we want to be able to call pnfs_send_layoutreturn() from within the
writeback path, we really want it to use GFP_NOFS in order to prevent
recursion.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c