Make __xfs_xattr_put_listen preperly report errors.
[deliverable/linux.git] / fs / xfs / xfs_xattr.c
index ea62245fee263d8f38e51b4d6ff6bad0e2b05b02..62900938f26d331c871f69c594e9bb0dd93c82fe 100644 (file)
@@ -147,6 +147,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;
This page took 0.023757 seconds and 5 git commands to generate.