summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/trace.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2018-04-17 08:07:27 +0200
committerDarrick J. Wong <darrick.wong@oracle.com>2018-04-18 02:10:17 +0200
commit2c4306f719b083d17df2963bc761777576b8ad1b (patch)
treefd579007adad2959affe07da1770c588b204f548 /fs/f2fs/trace.c
parentxfs: enhance dinode verifier (diff)
downloadlinux-2c4306f719b083d17df2963bc761777576b8ad1b.tar.xz
linux-2c4306f719b083d17df2963bc761777576b8ad1b.zip
xfs: set format back to extents if xfs_bmap_extents_to_btree
If xfs_bmap_extents_to_btree fails in a mode where we call xfs_iroot_realloc(-1) to de-allocate the root, set the format back to extents. Otherwise we can assume we can dereference ifp->if_broot based on the XFS_DINODE_FMT_BTREE format, and crash. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199423 Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/f2fs/trace.c')
0 files changed, 0 insertions, 0 deletions