f2fs: give -E2BIG for no space in xattr
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 12 Apr 2016 18:52:30 +0000 (11:52 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 15 Apr 2016 15:50:25 +0000 (08:50 -0700)
commit58457f1c355545c468b8aed5c431d8a6bb71d35d
treea32f4840a1b93017393721f82381a9917c7c2fba
parent4da7bf5a4345f3ce9699476a8022f66cfb4a8ce9
f2fs: give -E2BIG for no space in xattr

This patch returns -E2BIG if there is no space to add an xattr entry.
This should fix generic/026 in xfstests as well.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/xattr.c