diff options
author | Jan Kara <jack@suse.cz> | 2016-01-25 22:39:27 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2016-02-09 15:05:23 +0300 |
commit | 0066373d9f9320f69f24b080ee00d10f14397355 (patch) | |
tree | 6f52ae0d0b524e2bfa79abbe3676771523cb63b2 /include/linux/dqblk_qtree.h | |
parent | be6257b251cebd2deb8c76d43e387e28e3f7412d (diff) | |
download | linux-0066373d9f9320f69f24b080ee00d10f14397355.tar.xz |
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>
Diffstat (limited to 'include/linux/dqblk_qtree.h')
-rw-r--r-- | include/linux/dqblk_qtree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/dqblk_qtree.h b/include/linux/dqblk_qtree.h index ff8b55359648..0de21e935976 100644 --- a/include/linux/dqblk_qtree.h +++ b/include/linux/dqblk_qtree.h @@ -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 */ |