summaryrefslogtreecommitdiff
path: root/quotaio_generic.h
blob: 47d36a879debf87522e1a0800fb0ce7ed102418b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 *
 *	Header file for communication with kernel generic interface
 *
 */

#ifndef _QUOTAIO_GENERIC_H
#define _QUOTAIO_GENERIC_H

#include "quotaio.h"

/* Get info from kernel to handle */
int vfs_get_info(struct quota_handle *h);

/* Set info in kernel from handle */
int vfs_set_info(struct quota_handle *h, int flags);

/* Get dquot from kernel */
int vfs_get_dquot(struct dquot *dquot);

/* Set dquot in kernel */
int vfs_set_dquot(struct dquot *dquot, int flags);

#endif