diff options
author | Jeff Layton <[email protected]> | 2022-06-10 11:40:13 -0400 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2022-08-03 00:54:12 +0200 |
commit | 020bc44a9fbf6946f42db503d11c9811f26dd9fd (patch) | |
tree | 5a373e7dad5f73487bb9ce7cd6b71aaada51470f /lib/mpi/mpi-cmp.c | |
parent | 7467b04418d929c64cbaf75fc8d54db73e2b64df (diff) |
ceph: switch back to testing for NULL folio->private in ceph_dirty_folio
Willy requested that we change this back to warning on folio->private
being non-NULl. He's trying to kill off the PG_private flag, and so we'd
like to catch where it's non-NULL.
Add a VM_WARN_ON_FOLIO (since it doesn't exist yet) and change over to
using that instead of VM_BUG_ON_FOLIO along with testing the ->private
pointer.
[ xiubli: define VM_WARN_ON_FOLIO macro in case DEBUG_VM is disabled
reported by kernel test robot <[email protected]> ]
Cc: Matthew Wilcox <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Xiubo Li <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions