forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/fs/gfs2/quota.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
34 * 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.
85 */
96
107 #ifndef __QUOTA_DOT_H__
....@@ -18,8 +15,8 @@
1815 #define NO_UID_QUOTA_CHANGE INVALID_UID
1916 #define NO_GID_QUOTA_CHANGE INVALID_GID
2017
21
-extern int gfs2_qa_alloc(struct gfs2_inode *ip);
22
-extern void gfs2_qa_delete(struct gfs2_inode *ip, atomic_t *wcount);
18
+extern int gfs2_qa_get(struct gfs2_inode *ip);
19
+extern void gfs2_qa_put(struct gfs2_inode *ip);
2320 extern int gfs2_quota_hold(struct gfs2_inode *ip, kuid_t uid, kgid_t gid);
2421 extern void gfs2_quota_unhold(struct gfs2_inode *ip);
2522