aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/xattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/xattr.c')
-rw-r--r--ext2fs/xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/xattr.c b/ext2fs/xattr.c
index 31af3b25..ce392150 100644
--- a/ext2fs/xattr.c
+++ b/ext2fs/xattr.c
@@ -789,7 +789,7 @@ ext2_set_xattr (struct node *np, const char *name, const char *value,
/* 4 null bytes after xattr entry */
if (rest < 4)
{
- err = EIO;
+ err = ENOSPC;
goto cleanup;
}