mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
quota: Fixup comments about return value of Q_[X]GETNEXTQUOTA
We actually return ENOENT, not ESRCH, when there is no structure with higher ID from ->get_nextdqblk. Fixup comments. Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
92bd85fa1f
commit
ba58148b6f
1 changed files with 2 additions and 2 deletions
|
@ -224,7 +224,7 @@ static int quota_getquota(struct super_block *sb, int type, qid_t id,
|
|||
|
||||
/*
|
||||
* Return quota for next active quota >= this id, if any exists,
|
||||
* otherwise return -ESRCH via ->get_nextdqblk
|
||||
* otherwise return -ENOENT via ->get_nextdqblk
|
||||
*/
|
||||
static int quota_getnextquota(struct super_block *sb, int type, qid_t id,
|
||||
void __user *addr)
|
||||
|
@ -655,7 +655,7 @@ static int quota_getxquota(struct super_block *sb, int type, qid_t id,
|
|||
|
||||
/*
|
||||
* Return quota for next active quota >= this id, if any exists,
|
||||
* otherwise return -ESRCH via ->get_nextdqblk.
|
||||
* otherwise return -ENOENT via ->get_nextdqblk.
|
||||
*/
|
||||
static int quota_getnextxquota(struct super_block *sb, int type, qid_t id,
|
||||
void __user *addr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue