NFS: Prevent another deadlock in nfs_release_page()
commit0b4d9d6ac1f1d22fb0342305cd1e9bf67307d194
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 19 Mar 2010 17:55:17 +0000 (19 13:55 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:58:29 +0000 (1 15:58 -0700)
treee2412e761ba7a478ceaad6cb1784db40579b7aca
parent619338378356905f8a9ca6fdf94097389328f4f0
NFS: Prevent another deadlock in nfs_release_page()

commit d812e575822a2b7ab1a7cadae2571505ec6ec2bd upstream.

We should not attempt to free the page if __GFP_FS is not set. Otherwise we
can deadlock as per

  http://bugzilla.kernel.org/show_bug.cgi?id=15578

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/file.c