We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed26552 commit 7223769Copy full SHA for 7223769
mm/memory.c
@@ -6388,7 +6388,7 @@ static inline void pfnmap_lockdep_assert(struct vm_area_struct *vma)
6388
struct address_space *mapping = file ? file->f_mapping : NULL;
6389
6390
if (mapping)
6391
- lockdep_assert(lockdep_is_held(&vma->vm_file->f_mapping->i_mmap_rwsem) ||
+ lockdep_assert(lockdep_is_held(&mapping->i_mmap_rwsem) ||
6392
lockdep_is_held(&vma->vm_mm->mmap_lock));
6393
else
6394
lockdep_assert(lockdep_is_held(&vma->vm_mm->mmap_lock));
0 commit comments