mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
quota_v2: Implement get_next_id() for V2 quota format
Implement functions to get id of next existing quota structure in quota file for quota tree based formats and thus for V2 quota format. Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
be6257b251
commit
0066373d9f
3 changed files with 73 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
#define QTREE_DEL_REWRITE 6
|
||||
|
||||
struct dquot;
|
||||
struct kqid;
|
||||
|
||||
/* Operations */
|
||||
struct qtree_fmt_operations {
|
||||
|
@ -52,5 +53,6 @@ static inline int qtree_depth(struct qtree_mem_dqinfo *info)
|
|||
entries *= epb;
|
||||
return i;
|
||||
}
|
||||
int qtree_get_next_id(struct qtree_mem_dqinfo *info, struct kqid *qid);
|
||||
|
||||
#endif /* _LINUX_DQBLK_QTREE_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue