summaryrefslogtreecommitdiff
path: root/block/blk-iocost.c
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2023-10-11 10:43:26 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2023-10-11 11:09:56 -0400
commit6a6d4644ce935ddec4f76223ac0ca68da56bd2d3 (patch)
treea9a1648b0a3e638103150011968e2cf5cfcf970e /block/blk-iocost.c
parentf588d72bd95f748849685412b1f0c7959ca228cf (diff)
NFS: Fix potential oops in nfs_inode_remove_request()
Once a folio's private data has been cleared, it's possible for another process to clear the folio->mapping (e.g. via invalidate_complete_folio2 or evict_mapping_folio), so it wouldn't be safe to call nfs_page_to_inode() after that. Fixes: 0c493b5cf16e ("NFS: Convert buffered writes to use folios") Signed-off-by: Scott Mayhew <smayhew@redhat.com> Reviewed-by: Benjamin Coddington <bcodding@redhat.com> Tested-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'block/blk-iocost.c')
0 files changed, 0 insertions, 0 deletions