summaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2020-11-11 03:50:21 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2020-11-11 03:53:07 +0300
commit8a3c84b649b033024d2349f96234b26cbd6083a6 (patch)
tree087a8483185efcea30c589182dfe28514f9d1f2a /lib/test_overflow.c
parent22843291efc986ce7722610073fcf85a39b4cb13 (diff)
downloadlinux-8a3c84b649b033024d2349f96234b26cbd6083a6.tar.xz
vfs: separate __sb_start_write into blocking and non-blocking helpers
Break this function into two helpers so that it's obvious that the trylock versions return a value that must be checked, and the blocking versions don't require that. While we're at it, clean up the return type mismatch. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions