aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-03-04 10:28:31 +0000
committerPeter Zijlstra <[email protected]>2020-03-06 10:06:15 +0000
commit8019ad13ef7f64be44d4f892af9c840179009254 (patch)
tree889b754b07fa844410d6782bc1b4473007a9bc99 /fs/btrfs/dev-replace.c
parentLinux 5.6-rc4 (diff)
downloadkernel-8019ad13ef7f64be44d4f892af9c840179009254.tar.gz
kernel-8019ad13ef7f64be44d4f892af9c840179009254.zip
futex: Fix inode life-time issue
As reported by Jann, ihold() does not in fact guarantee inode persistence. And instead of making it so, replace the usage of inode pointers with a per boot, machine wide, unique inode identifier. This sequence number is global, but shared (file backed) futexes are rare enough that this should not become a performance issue. Reported-by: Jann Horn <[email protected]> Suggested-by: Linus Torvalds <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions