ext2: Handle error from dquot_initalize()
dquot_initialize() can now return error. Handle it where possible. Signed-off-by: Jan Kara <jack@suse.com>
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user