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: NAndreas Gruenbacher <agruenba@redhat.com>
Showing
想要评论请 注册 或 登录