aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorZheng Bin <[email protected]>2020-05-12 11:48:35 -0700
committerDarrick J. Wong <[email protected]>2020-05-13 15:32:45 -0700
commit237aac4624aac5d46b903539e91c8d4567a2bab5 (patch)
treeff6c818887afc31ec2259cbb5332ed26c52c4e39 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parent3d60548b216b5486a541a06c167df3dfb6df9c2e (diff)
xfs: ensure f_bfree returned by statfs() is non-negative
Construct an img like this: dd if=/dev/zero of=xfs.img bs=1M count=20 mkfs.xfs -d agcount=1 xfs.img xfs_db -x xfs.img sb 0 write fdblocks 0 agf 0 write freeblks 0 write longest 0 quit mount it, df -h /mnt(xfs mount point), will show this: Filesystem Size Used Avail Use% Mounted on /dev/loop0 17M -64Z -32K 100% /mnt Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zheng Bin <[email protected]> Reviewed-by: Brian Foster <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions