These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / fs / ext2 / ialloc.c
index 5c04a0d..efe5fb2 100644 (file)
@@ -577,7 +577,10 @@ got:
                goto fail;
        }
 
-       dquot_initialize(inode);
+       err = dquot_initialize(inode);
+       if (err)
+               goto fail_drop;
+
        err = dquot_alloc_inode(inode);
        if (err)
                goto fail_drop;