These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / fs / jfs / jfs_inode.c
index 6b0f816..cf7936f 100644 (file)
@@ -109,7 +109,9 @@ struct inode *ialloc(struct inode *parent, umode_t mode)
        /*
         * Allocate inode to quota.
         */
-       dquot_initialize(inode);
+       rc = dquot_initialize(inode);
+       if (rc)
+               goto fail_drop;
        rc = dquot_alloc_inode(inode);
        if (rc)
                goto fail_drop;