hfs: incorrect return values
authorChengyu Song <csong84@gatech.edu>
Thu, 16 Apr 2015 19:46:53 +0000 (12:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 17 Apr 2015 13:04:04 +0000 (09:04 -0400)
commit13f244852f1197b623af2d3076fae197d2e038ec
tree4fdf99a54de087f3722dc820fee748377a1eda16
parentfaea2c5311e162f5ceda8e0a261a9f9ece6f921d
hfs: incorrect return values

In case of memory allocation error, the return should be -ENOMEM, instead
of -ENOSPC.

Signed-off-by: Chengyu Song <csong84@gatech.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hfs/dir.c