diff options
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index 0d493a3bb749..3a28e7751b3c 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c | |||
@@ -932,7 +932,7 @@ int reiserfs_get_block(struct inode *inode, sector_t block, | |||
932 | if (blocks_needed == 1) { | 932 | if (blocks_needed == 1) { |
933 | un = &unf_single; | 933 | un = &unf_single; |
934 | } else { | 934 | } else { |
935 | un = kzalloc(min(blocks_needed, max_to_insert) * UNFM_P_SIZE, GFP_ATOMIC); // We need to avoid scheduling. | 935 | un = kzalloc(min(blocks_needed, max_to_insert) * UNFM_P_SIZE, GFP_NOFS); |
936 | if (!un) { | 936 | if (!un) { |
937 | un = &unf_single; | 937 | un = &unf_single; |
938 | blocks_needed = 1; | 938 | blocks_needed = 1; |