Btrfs: check return value of btrfs_alloc_path()
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Tue, 1 Mar 2011 06:48:31 +0000 (06:48 +0000)
committerroot <Chris Mason chris.mason@oracle.com>
Mon, 28 Mar 2011 09:37:54 +0000 (05:37 -0400)
commitc2db1073fdf9757e6fd8b4a59d15b6ecc7a2af8a
tree024264b2d27f75b967efbde01060ebb8626fa39d
parentc59021f846881a957ac5afe456d0f59d6a517b61
Btrfs: check return value of btrfs_alloc_path()

Adding the check on the return value of btrfs_alloc_path() to several places.
And, some of callers are modified by this change.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/compression.c
fs/btrfs/dir-item.c
fs/btrfs/file-item.c
fs/btrfs/inode.c