diff options
author | Darrick J. Wong <[email protected]> | 2023-05-02 09:14:43 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2023-05-02 09:14:43 +1000 |
commit | 397b2d7e0f3e28bbeaa05cf8e10d0fd601f446f4 (patch) | |
tree | 03dbe9a226b44e15330055ca927413678a79ec24 /drivers/fpga/fpga-bridge.c | |
parent | 8e698ee72c4ecbbf18264568eb310875839fd601 (diff) |
xfs: flush dirty data and drain directios before scrubbing cow fork
When we're scrubbing the COW fork, we need to take MMAPLOCK_EXCL to
prevent page_mkwrite from modifying any inode state. The ILOCK should
suffice to avoid confusing online fsck, but let's take the same locks
that we do everywhere else.
Signed-off-by: Darrick J. Wong <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions