commit | dbf896fc286a62bf215b904c6ff5d197df93e685 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Dec 01 16:31:14 2016 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Sat Dec 10 12:39:45 2016 -0800 |
tree | 35b17d49eace7cd159300102f5d55d687759ddaa | |
parent | 085549553dca86c866f26d233d9cfe19f169c288 [diff] |
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>