]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - fs/gfs2/lvb.h
ca9732b2d9f4b7a962f20f0e674d0a3a0c8e1a86
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License v.2.
13 #define GFS2_MIN_LVB_SIZE 32
15 struct gfs2_quota_lvb
{
18 uint64_t qb_limit
; /* Hard limit of # blocks to alloc */
19 uint64_t qb_warn
; /* Warn user when alloc is above this # */
20 int64_t qb_value
; /* Current # blocks allocated */
23 void gfs2_quota_lvb_in(struct gfs2_quota_lvb
*qb
, char *lvb
);
24 void gfs2_quota_lvb_out(struct gfs2_quota_lvb
*qb
, char *lvb
);
25 void gfs2_quota_lvb_print(struct gfs2_quota_lvb
*qb
);
27 #endif /* __LVB_DOT_H__ */