diff --git a/fs/xfs/xfs_xattr.c b/fs/xfs/xfs_xattr.c index e72dde125c4033be7153bc5aaeaf83a028b805fa..ead53c933de6c8bb71c29128ab4f62ce71ac66ac 100644 --- a/fs/xfs/xfs_xattr.c +++ b/fs/xfs/xfs_xattr.c @@ -151,6 +151,7 @@ xfs_xattr_put_listent( arraytop = context->count + prefix_len + namelen + 1; if (arraytop > context->firstu) { context->count = -1; /* insufficient space */ + context->seen_enough = 1; return 0; } offset = (char *)context->alist + context->count;