OSDN Git Service

xfs: don't spray logs when dquot flush/purge fail
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 4 May 2018 22:30:20 +0000 (15:30 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 10 May 2018 15:56:47 +0000 (08:56 -0700)
commit609001bca49917b44c6af71abafd6e91c274006d
tree7ece1cba6c8b57d07e99c400b7fffa4824796528
parent7b6b50f55c1064e619f2da0696ed99f9db10b960
xfs: don't spray logs when dquot flush/purge fail

When dquot flush or purge fail there's no need to spam the logs, we've
already logged the IO error or fs shutdown that caused the flush
failures.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/xfs_dquot_item.c
fs/xfs/xfs_qm.c