inode: Fix double locking
authorAlan Cox <alan@linux.intel.com>
Tue, 17 Apr 2018 22:13:51 +0000 (23:13 +0100)
committerAlan Cox <alan@linux.intel.com>
Tue, 17 Apr 2018 22:13:51 +0000 (23:13 +0100)
commit4f953ed460ea8771e2d4b836606cad92d31be2de
treed7339a398d5d5be30ac77c4c53c57a4b0052a8c3
parentc98353d828eace6b1c192fd60d74e930f66f7645
inode: Fix double locking

This was a long lurking buglet caught by the new inode locking code and
chased down by Tormod. I think this approach is correct. The old inefficiency
of doing a bfind to find the buffer does not exist and the a bread discovering
this again is still present.
Kernel/inode.c