Revision 943eb3bf25f4a7b745dd799e031be276aa104d82 authored by Josef Bacik on 19 November 2019, 18:59:20 UTC, committed by David Sterba on 13 December 2019, 13:09:23 UTC
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. Fixes: cdd1fedf8261 ("btrfs: add support for RENAME_EXCHANGE and RENAME_WHITEOUT") CC: stable@vger.kernel.org # 4.4+ Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
1 parent db8fe64
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 3.5 KB |
Makefile | -rw-r--r-- | 677 bytes |
dsa.c | -rw-r--r-- | 8.1 KB |
dsa2.c | -rw-r--r-- | 17.5 KB |
dsa_priv.h | -rw-r--r-- | 6.4 KB |
master.c | -rw-r--r-- | 8.9 KB |
port.c | -rw-r--r-- | 16.5 KB |
slave.c | -rw-r--r-- | 43.1 KB |
switch.c | -rw-r--r-- | 8.9 KB |
tag_8021q.c | -rw-r--r-- | 12.9 KB |
tag_brcm.c | -rw-r--r-- | 5.7 KB |
tag_dsa.c | -rw-r--r-- | 3.7 KB |
tag_edsa.c | -rw-r--r-- | 4.3 KB |
tag_gswip.c | -rw-r--r-- | 2.8 KB |
tag_ksz.c | -rw-r--r-- | 6.7 KB |
tag_lan9303.c | -rw-r--r-- | 4.2 KB |
tag_mtk.c | -rw-r--r-- | 2.8 KB |
tag_qca.c | -rw-r--r-- | 2.9 KB |
tag_sja1105.c | -rw-r--r-- | 8.9 KB |
tag_trailer.c | -rw-r--r-- | 2.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...