Nikita Danilov ddeff520f0 NFS: Fix a potential deadlock in nfs_release_page
nfs_wb_page() waits on request completion and, as a result, is not safe to be
called from nfs_release_page() invoked by VM scanner as part of GFP_NOFS
allocation. Fix possible deadlock by analyzing gfp mask and refusing to
release page if __GFP_FS is not set.

Signed-off-by: Nikita Danilov <danilov@gmail.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
(cherry picked from 374d969debfb290bafcb41d28918dc6f7e43ce31 commit)
2006-08-24 15:48:46 -04:00
..
2006-08-14 12:54:28 -07:00
2006-06-26 09:58:18 -07:00
2006-08-06 08:57:48 -07:00
2006-08-03 16:56:02 -04:00
2006-08-07 11:07:01 -07:00
2006-08-06 08:57:46 -07:00
2006-06-26 18:35:02 +02:00
2006-07-31 13:28:38 -07:00
2006-07-03 15:27:06 -07:00
2006-07-12 12:52:55 -07:00
2006-06-26 09:58:17 -07:00
2006-08-14 13:10:59 -07:00
2006-06-23 07:42:49 -07:00
2006-06-26 09:58:17 -07:00
2006-06-23 07:42:49 -07:00