aboutsummaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2020-10-21 14:25:02 +0800
committerDavid Sterba <[email protected]>2020-12-08 15:54:03 +0100
commit0d01e247a06b9f36f685edf6c2e74f79f60df9cd (patch)
tree399f4b6cb21317b8b92180af2deab5716cc7e0b9 /lib/pm-notifier-error-inject.c
parentbbb86a3717917c7b16da545f9c421ab6a3448306 (diff)
btrfs: assert page mapping lock in attach_extent_buffer_page
When calling attach_extent_buffer_page(), either we're attaching anonymous pages, called from btrfs_clone_extent_buffer(), or we're attaching btree inode pages, called from alloc_extent_buffer(). For the latter case, we should hold page->mapping->private_lock to avoid parallel changes to page->private. Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions