kill-the-bkl/reiserfs: turn GFP_ATOMIC flag to GFP_NOFS in reiserfs_get_block()
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 20 Nov 2009 03:11:30 +0000 (04:11 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Fri, 20 Nov 2009 17:25:02 +0000 (18:25 +0100)
commit1d2c6cfd40b2dece3bb958cbbc405a2c1536ab75
tree52ab33b148548083ae0456857791a8d410c83a31
parent27b3a5c51b50a234fb4a21146841e6723b5934ce
kill-the-bkl/reiserfs: turn GFP_ATOMIC flag to GFP_NOFS in reiserfs_get_block()

GFP_ATOMIC was used in reiserfs_get_block to not lose the Bkl so that
nobody can modify the tree in the middle of its work. Now that we
kicked out the bkl, we can use a more friendly flag. We use GFP_NOFS
here because we already hold the reiserfs lock.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jeff Mahoney <jeffm@suse.com>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Alexander Beregalov <a.beregalov@gmail.com>
Cc: Laurent Riffard <laurent.riffard@free.fr>
Cc: Thomas Gleixner <tglx@linutronix.de>
fs/reiserfs/inode.c