mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
![Jan Kara](/assets/img/avatar_default.png)
Improve estimates on the number of needed credits for quota transaction. Now we distinguish blocks that might need to be allocated and blocks that only need to be rewritten. Also we distinguish deleting of a quota structure and creating of a new one. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
24 lines
460 B
C
24 lines
460 B
C
/*
|
|
* File with in-memory structures of old quota format
|
|
*/
|
|
|
|
#ifndef _LINUX_DQBLK_V1_H
|
|
#define _LINUX_DQBLK_V1_H
|
|
|
|
/* Id of quota format */
|
|
#define QFMT_VFS_OLD 1
|
|
|
|
/* Root squash turned on */
|
|
#define V1_DQF_RSQUASH 1
|
|
|
|
/* Numbers of blocks needed for updates */
|
|
#define V1_INIT_ALLOC 1
|
|
#define V1_INIT_REWRITE 1
|
|
#define V1_DEL_ALLOC 0
|
|
#define V1_DEL_REWRITE 2
|
|
|
|
/* Special information about quotafile */
|
|
struct v1_mem_dqinfo {
|
|
};
|
|
|
|
#endif /* _LINUX_DQBLK_V1_H */
|