mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] quota: fix error code for ext2_new_inode()
The quota check in ext2_new_inode() returns ENOSPC where it should return EDQUOT instead. Signed-off-by: Herbert Pötzl <[email protected]> Acked-by: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
69dcc99199
commit
9d9c0531c9
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ got:
|
|||
insert_inode_hash(inode);
|
||||
|
||||
if (DQUOT_ALLOC_INODE(inode)) {
|
||||
err = -ENOSPC;
|
||||
err = -EDQUOT;
|
||||
goto fail_drop;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue