hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/gfs2/trans.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 __TRANS_DOT_H__
....@@ -44,6 +41,7 @@
4441 extern void gfs2_trans_add_data(struct gfs2_glock *gl, struct buffer_head *bh);
4542 extern void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh);
4643 extern void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd);
47
-extern void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len);
44
+extern void gfs2_trans_remove_revoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len);
45
+extern void gfs2_trans_free(struct gfs2_sbd *sdp, struct gfs2_trans *tr);
4846
4947 #endif /* __TRANS_DOT_H__ */