Re: [PATCH] btrfs: don't double lock the subvol_sem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 19, 2019 at 01:59:20PM -0500, Josef Bacik wrote:
> If we're rename exchanging two subvols we'll try to lock this lock
> twice, which is bad.  Just lock once if either of the ino's are subvols.
> 
> cc: stable@xxxxxxxxxxxxxxx
> Fixes: cdd1fedf8261 ("btrfs: add support for RENAME_EXCHANGE and RENAME_WHITEOUT")
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Added to misc-next, thanks.



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux