Loading fs/btrfs/file.c +3 −3 Original line number Diff line number Diff line Loading @@ -2611,7 +2611,7 @@ static int add_falloc_range(struct list_head *head, u64 start, u64 len) return 0; } insert: range = kmalloc(sizeof(*range), GFP_NOFS); range = kmalloc(sizeof(*range), GFP_KERNEL); if (!range) return -ENOMEM; range->start = start; Loading Loading @@ -2712,7 +2712,7 @@ static long btrfs_fallocate(struct file *file, int mode, btrfs_put_ordered_extent(ordered); unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, &cached_state, GFP_NOFS); &cached_state, GFP_KERNEL); /* * we can't wait on the range with the transaction * running or with the extent lock held Loading Loading @@ -2806,7 +2806,7 @@ static long btrfs_fallocate(struct file *file, int mode, } out_unlock: unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, &cached_state, GFP_NOFS); &cached_state, GFP_KERNEL); out: /* * As we waited the extent range, the data_rsv_map must be empty Loading Loading
fs/btrfs/file.c +3 −3 Original line number Diff line number Diff line Loading @@ -2611,7 +2611,7 @@ static int add_falloc_range(struct list_head *head, u64 start, u64 len) return 0; } insert: range = kmalloc(sizeof(*range), GFP_NOFS); range = kmalloc(sizeof(*range), GFP_KERNEL); if (!range) return -ENOMEM; range->start = start; Loading Loading @@ -2712,7 +2712,7 @@ static long btrfs_fallocate(struct file *file, int mode, btrfs_put_ordered_extent(ordered); unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, &cached_state, GFP_NOFS); &cached_state, GFP_KERNEL); /* * we can't wait on the range with the transaction * running or with the extent lock held Loading Loading @@ -2806,7 +2806,7 @@ static long btrfs_fallocate(struct file *file, int mode, } out_unlock: unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, &cached_state, GFP_NOFS); &cached_state, GFP_KERNEL); out: /* * As we waited the extent range, the data_rsv_map must be empty Loading