summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-16 23:46:50 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 19:47:36 +0300
commitecf8a74dab1db2d3d208ad08e4104ebdc734911b (patch)
treeae740523b024ade988b9e6452ab35c85d1bb383c /include
parent8b58623f5b911feacee2e55b6e378b2e0858e677 (diff)
downloadlinux-ecf8a74dab1db2d3d208ad08e4104ebdc734911b.tar.xz
bcachefs: kill INODE_LOCK, use lock_two_nondirectories()
In an ideal world, we'd have a common helper that could be used for sorting a list of inodes into the correct lock order, and then the same lock ordering could be used for any type of inode lock, not just i_rwsem. But the lock ordering rules for i_rwsem are a bit complicated, so - abandon that dream for now and do it the more standard way. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions