commit | 00e4e6b33a0f78aab4b788d6d31c884fd8bf88da | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Tue Aug 05 11:18:09 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:04:06 2008 -0400 |
tree | 726c1b05385f15566aa5c14ff694870f6eb6def2 | |
parent | 7d2b4daa67379960477568abda62b8ba9ee3a8aa [diff] |
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>