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