aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2014-03-28 08:06:00 +0000
committerChris Mason <[email protected]>2014-04-07 16:08:44 +0000
commit84dbeb87d1439d3a6614c95e82429542434bafb9 (patch)
tree565df09d67424d796b3c321b579ff967885e4c1e /fs/btrfs/async-thread.c
parentBtrfs: fix snapshot vs nocow writting (diff)
downloadkernel-84dbeb87d1439d3a6614c95e82429542434bafb9.tar.gz
kernel-84dbeb87d1439d3a6614c95e82429542434bafb9.zip
Btrfs: kmalloc() doesn't return an ERR_PTR
The error handling was copy and pasted from memdup_user(). It should be checking for NULL obviously. Fixes: abccd00f8af2 ('btrfs: Fix 32/64-bit problem with BTRFS_SET_RECEIVED_SUBVOL ioctl') Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions