diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 12:06:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 12:06:16 -0400 |
commit | 4a61f17378c2cdd9bd8f34ef8bd7422861d0c1f1 (patch) | |
tree | a2054556900af8c16fd9f5419f012dcf1ee2995a /fs/gfs2/quota.h | |
parent | d002ec481c24f325ed6cfcb7810d317c015dd1b5 (diff) | |
parent | 7ecdb70a0ea436c06540140242bfac6ac3babfc0 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6: (292 commits)
[GFS2] Fix endian bug for de_type
[GFS2] Initialize SELinux extended attributes at inode creation time.
[GFS2] Move logging code into log.c (mostly)
[GFS2] Mark nlink cleared so VFS sees it happen
[GFS2] Two redundant casts removed
[GFS2] Remove uneeded endian conversion
[GFS2] Remove duplicate sb reading code
[GFS2] Mark metadata reads for blktrace
[GFS2] Remove iflags.h, use FS_
[GFS2] Fix code style/indent in ops_file.c
[GFS2] streamline-generic_file_-interfaces-and-filemap gfs fix
[GFS2] Remove readv/writev methods and use aio_read/aio_write instead (gfs bits)
[GFS2] inode-diet: Eliminate i_blksize from the inode structure
[GFS2] inode_diet: Replace inode.u.generic_ip with inode.i_private (gfs)
[GFS2] Fix typo in last patch
[GFS2] Fix direct i/o logic in filemap.c
[GFS2] Fix bug in Makefiles for lock modules
[GFS2] Remove (extra) fs_subsys declaration
[GFS2/DLM] Fix trailing whitespace
[GFS2] Tidy up meta_io code
...
Diffstat (limited to 'fs/gfs2/quota.h')
-rw-r--r-- | fs/gfs2/quota.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/fs/gfs2/quota.h b/fs/gfs2/quota.h new file mode 100644 index 000000000000..a8be1417051f --- /dev/null +++ b/fs/gfs2/quota.h | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. | ||
3 | * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. | ||
4 | * | ||
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 version 2. | ||
8 | */ | ||
9 | |||
10 | #ifndef __QUOTA_DOT_H__ | ||
11 | #define __QUOTA_DOT_H__ | ||
12 | |||
13 | struct gfs2_inode; | ||
14 | struct gfs2_sbd; | ||
15 | |||
16 | #define NO_QUOTA_CHANGE ((u32)-1) | ||
17 | |||
18 | int gfs2_quota_hold(struct gfs2_inode *ip, u32 uid, u32 gid); | ||
19 | void gfs2_quota_unhold(struct gfs2_inode *ip); | ||
20 | |||
21 | int gfs2_quota_lock(struct gfs2_inode *ip, u32 uid, u32 gid); | ||
22 | void gfs2_quota_unlock(struct gfs2_inode *ip); | ||
23 | |||
24 | int gfs2_quota_check(struct gfs2_inode *ip, u32 uid, u32 gid); | ||
25 | void gfs2_quota_change(struct gfs2_inode *ip, s64 change, | ||
26 | u32 uid, u32 gid); | ||
27 | |||
28 | int gfs2_quota_sync(struct gfs2_sbd *sdp); | ||
29 | int gfs2_quota_refresh(struct gfs2_sbd *sdp, int user, u32 id); | ||
30 | |||
31 | int gfs2_quota_init(struct gfs2_sbd *sdp); | ||
32 | void gfs2_quota_scan(struct gfs2_sbd *sdp); | ||
33 | void gfs2_quota_cleanup(struct gfs2_sbd *sdp); | ||
34 | |||
35 | #endif /* __QUOTA_DOT_H__ */ | ||