hfsplus: use -ENOMEM when kzalloc() fails
authorNamjae Jeon <linkinjeon@gmail.com>
Mon, 30 Jul 2012 21:42:11 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 31 Jul 2012 00:25:19 +0000 (17:25 -0700)
commit497d48bd27ec1c44b4600e8e98a776188f2e11f2
treea79dc22a7645db81781d40d0b669b6c00e138e33
parentf5974c8f8cf431baf44e7127b669e3b1960f184f
hfsplus: use -ENOMEM when kzalloc() fails

Use -ENOMEM return value instead of -EINVAL when kzalloc() fails.

Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfsplus/super.c