diff options
author | 2016-01-25 20:39:27 +0100 | |
---|---|---|
committer | 2016-02-09 13:05:23 +0100 | |
commit | 0066373d9f9320f69f24b080ee00d10f14397355 (patch) | |
tree | 6f52ae0d0b524e2bfa79abbe3676771523cb63b2 /include/linux/dqblk_qtree.h | |
parent | quota: Add support for ->get_nextdqblk() for VFS quota (diff) | |
download | linux-0066373d9f9320f69f24b080ee00d10f14397355.tar.gz linux-0066373d9f9320f69f24b080ee00d10f14397355.tar.bz2 linux-0066373d9f9320f69f24b080ee00d10f14397355.zip |
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 */ |