summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_trace.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2018-04-18 03:17:35 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2018-05-09 20:04:00 +0300
commit8b26984dbd813b1f63267baa258c9932e7f6c835 (patch)
treedd3e37346dd0c0bcebe9353a526ea3f294675155 /fs/xfs/xfs_trace.h
parentafca6c5b2595fc44383919fba740c194b0b76aff (diff)
downloadlinux-8b26984dbd813b1f63267baa258c9932e7f6c835.tar.xz
xfs: validate allocated inode number
When we have corrupted free inode btrees, we can attempt to allocate inodes that we know are already allocated. Catch allocation of these inodes and report corruption as early as possible to prevent corruption propagation or deadlocks. Signed-Off-By: Dave Chinner <dchinner@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
0 files changed, 0 insertions, 0 deletions