mirror of
https://github.com/versity/scoutfs.git
synced 2026-04-22 06:20:31 +00:00
When scoutfs_setattr truncates a file with offline extents, it unlocks the inode lock before calling scoutfs_data_wait to wait for the data to be staged. If data_wait returns any error, the code jumps to 'goto out' which calls scoutfs_unlock again, thus double-unlocking the lock. Signed-off-by: Auke Kok <auke.kok@versity.com>