Created
December 9, 2015 12:09
-
-
Save epickrram/922387b56cec6a77f291 to your computer and use it in GitHub Desktop.
xfs_write_lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xfs_file_buffered_aio_write( | |
struct kiocb *iocb, | |
struct iov_iter *from) | |
{ | |
... | |
int iolock = XFS_IOLOCK_EXCL; | |
... | |
xfs_rw_ilock(ip, iolock); | |
... | |
ret = generic_perform_write(file, from, pos); | |
... | |
xfs_rw_iunlock(ip, iolock); | |
return ret; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment