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-07-02 15:10:20 -07:00
2006-03-20 13:44:48 -05:00
2006-06-09 09:34:33 -04:00
2006-06-25 12:30:33 -07:00
2006-06-09 09:34:33 -04:00
2006-06-09 09:34:33 -04:00
2006-06-09 09:34:25 -04:00
2006-06-09 09:34:33 -04:00
2006-06-09 09:34:33 -04:00
2006-08-03 16:55:41 -04:00
2006-06-25 06:38:47 -04:00
2006-06-25 06:39:35 -04:00
2006-03-20 13:44:10 -05:00
2006-08-03 16:55:41 -04:00