Skip to content
Commit 10b4bd6c authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

xfs: refactor locking and unlocking two inodes against userspace IO



Refactor the two functions that we use to lock and unlock two inodes to
block userspace from initiating IO against a file, whether via system
calls or mmap activity.

Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarBrian Foster <bfoster@redhat.com>
parent 451d34ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment