Commit edb46dd
quota: remove unnecessary error code translation in dquot_quota_enable
Simply set error code to -EEXIST when quota limit is already enabled in
dquot_quota_enable to remove unnecessary error code translation.
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Kemeng Shi <[email protected]>
Signed-off-by: Jan Kara <[email protected]>1 parent f439111 commit edb46dd
1 file changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2594 | 2594 | | |
2595 | 2595 | | |
2596 | 2596 | | |
2597 | | - | |
| 2597 | + | |
| 2598 | + | |
2598 | 2599 | | |
2599 | 2600 | | |
2600 | 2601 | | |
| |||
2608 | 2609 | | |
2609 | 2610 | | |
2610 | 2611 | | |
2611 | | - | |
2612 | | - | |
2613 | | - | |
2614 | 2612 | | |
2615 | 2613 | | |
2616 | 2614 | | |
| |||
0 commit comments