]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7f3f2ea7d40eea5c420e196a35c2c334fd4ec0b
tree024264b2d27f75b967efbde01060ebb8626fa39d
parent7d596be0557c04cf71355af7b8a9b1603c0d6f95
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