diff options
author | Robbie Ko <[email protected]> | 2020-03-17 14:31:02 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-03-25 16:29:16 +0100 |
commit | 6ff06729c22ec0b7498d900d79cc88cfb8aceaeb (patch) | |
tree | 90d285bcd137735cd26ca942412fdc47065df5b0 /lib/mpi/mpi-inline.h | |
parent | 351cbf6e4410e7ece05e35d0a07320538f2418b4 (diff) |
btrfs: fix missing semaphore unlock in btrfs_sync_file
Ordered ops are started twice in sync file, once outside of inode mutex
and once inside, taking the dio semaphore. There was one error path
missing the semaphore unlock.
Fixes: aab15e8ec2576 ("Btrfs: fix rare chances for data loss when doing a fast fsync")
CC: [email protected] # 4.19+
Signed-off-by: Robbie Ko <[email protected]>
Reviewed-by: Filipe Manana <[email protected]>
[ add changelog ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions