summaryrefslogtreecommitdiff
path: root/fs/gfs2/sys.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2021-05-15 17:27:14 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2021-05-21 05:16:38 +0200
commitb7f55d928e75557295c1ac280c291b738905b6fb (patch)
treee4bdc7866e6d0e3f9868a1d08edcecf14b179412 /fs/gfs2/sys.c
parentf5456b5d67cf812fd31fe3e130ca216b2e0908e5 (diff)
gfs2: Fix mmap locking for write faults
When a write fault occurs, we need to take the inode glock of the underlying inode in exclusive mode. Otherwise, there's no guarantee that the dirty page will be written back to disk. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/sys.c')
0 files changed, 0 insertions, 0 deletions