]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: always unlock when completing dio writes
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 2 Dec 2016 00:31:14 +0000 (16:31 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 10 Dec 2016 20:39:45 +0000 (12:39 -0800)
commitb5a82987ee4ebe89c79c3fb22e5028d30cc6e7a6
tree35b17d49eace7cd159300102f5d55d687759ddaa
parent07677b15f01e6f1e21e5a61cba689cb3c549970d
ocfs2: always unlock when completing dio writes

Always unlock the inode when completing dio writes, even if an error
has occurrred.  The caller already checks the inode and unlocks it
if needed, so we might as well reduce contention.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/ocfs2/aops.c