Prva inačica za buster
[sysadmin-cn.git] / quotaio_generic.h
1 /*
2  *
3  *      Header file for communication with kernel generic interface
4  *
5  */
6
7 #ifndef _QUOTAIO_GENERIC_H
8 #define _QUOTAIO_GENERIC_H
9
10 #include "quotaio.h"
11
12 /* Get info from kernel to handle */
13 int vfs_get_info(struct quota_handle *h);
14
15 /* Set info in kernel from handle */
16 int vfs_set_info(struct quota_handle *h, int flags);
17
18 /* Get dquot from kernel */
19 int vfs_get_dquot(struct dquot *dquot);
20
21 /* Set dquot in kernel */
22 int vfs_set_dquot(struct dquot *dquot, int flags);
23
24 #endif