]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: return errno if possible when we fail to allocate memory
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 14 May 2013 02:12:15 +0000 (02:12 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Sat, 18 May 2013 01:40:27 +0000 (21:40 -0400)
commit950693859a96f5bf078c1599d66b0851e1051288
tree8a471df81a5c15b4750b64360f26681dfa3d7ec3
parentcbdf5946d1402b6c644d99ec633e9d33f1d4a519
Btrfs: return errno if possible when we fail to allocate memory

We need to set return value explicitly, otherwise we'll lose the error
value.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/inode.c