ext4.h (0d0a60c92fedbd4bf484c4c9b5cd49c16d05fb3f) ext4.h (09edf4d381957b144440bac18a4769c53063b943)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * ext4.h
4 *
5 * Copyright (C) 1992, 1993, 1994, 1995
6 * Remy Card (card@masi.ibp.fr)
7 * Laboratoire MASI - Institut Blaise Pascal
8 * Universite Pierre et Marie Curie (Paris VI)

--- 3374 unchanged lines hidden (view full) ---

3383 io_end->flag &= ~EXT4_IO_END_UNWRITTEN;
3384 /* Wake up anyone waiting on unwritten extent conversion */
3385 if (atomic_dec_and_test(&EXT4_I(inode)->i_unwritten))
3386 wake_up_all(ext4_ioend_wq(inode));
3387 }
3388}
3389
3390extern const struct iomap_ops ext4_iomap_ops;
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * ext4.h
4 *
5 * Copyright (C) 1992, 1993, 1994, 1995
6 * Remy Card (card@masi.ibp.fr)
7 * Laboratoire MASI - Institut Blaise Pascal
8 * Universite Pierre et Marie Curie (Paris VI)

--- 3374 unchanged lines hidden (view full) ---

3383 io_end->flag &= ~EXT4_IO_END_UNWRITTEN;
3384 /* Wake up anyone waiting on unwritten extent conversion */
3385 if (atomic_dec_and_test(&EXT4_I(inode)->i_unwritten))
3386 wake_up_all(ext4_ioend_wq(inode));
3387 }
3388}
3389
3390extern const struct iomap_ops ext4_iomap_ops;
3391extern const struct iomap_ops ext4_iomap_report_ops;
3391
3392static inline int ext4_buffer_uptodate(struct buffer_head *bh)
3393{
3394 /*
3395 * If the buffer has the write error flag, we have failed
3396 * to write out data in the block. In this case, we don't
3397 * have to read the block because we may read the old data
3398 * successfully.

--- 12 unchanged lines hidden ---
3392
3393static inline int ext4_buffer_uptodate(struct buffer_head *bh)
3394{
3395 /*
3396 * If the buffer has the write error flag, we have failed
3397 * to write out data in the block. In this case, we don't
3398 * have to read the block because we may read the old data
3399 * successfully.

--- 12 unchanged lines hidden ---