mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
Get rid of BTRFS_I(inode)->index and use local vars instead
rename and link don't always have a lock on the source inode, and our use of a per-inode index variable was racy. This changes things to store the index in a local variable instead. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
7d2b4daa67
commit
00e4e6b33a
2 changed files with 34 additions and 34 deletions
Loading…
Add table
Add a link
Reference in a new issue