hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/gfs2/bmap.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 __BMAP_DOT_H__
....@@ -47,6 +44,7 @@
4744 }
4845
4946 extern const struct iomap_ops gfs2_iomap_ops;
47
+extern const struct iomap_writeback_ops gfs2_writeback_ops;
5048
5149 extern int gfs2_unstuff_dinode(struct gfs2_inode *ip, struct page *page);
5250 extern int gfs2_block_map(struct inode *inode, sector_t lblock,
....@@ -64,5 +62,6 @@
6462 extern int gfs2_map_journal_extents(struct gfs2_sbd *sdp, struct gfs2_jdesc *jd);
6563 extern void gfs2_free_journal_extents(struct gfs2_jdesc *jd);
6664 extern int __gfs2_punch_hole(struct file *file, loff_t offset, loff_t length);
65
+extern int gfs2_lblk_to_dblk(struct inode *inode, u32 lblock, u64 *dblock);
6766
6867 #endif /* __BMAP_DOT_H__ */