summaryrefslogtreecommitdiffstats
path: root/crypto/ablkcipher.c
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2018-08-07 10:57:13 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-08-07 10:57:13 -0700
commit73971b172a435079340007bee12b4944cc599a8a (patch)
treed023a9d243196397d8715402e08027ae0ca0e5d9 /crypto/ablkcipher.c
parent2ba090d521c5e09f32316c179d25bb6f699d3568 (diff)
downloadlinux-73971b172a435079340007bee12b4944cc599a8a.tar.bz2
xfs: remove dead error handling code in xfs_dquot_disk_alloc()
Colin Ian King reports that commit 82ff27bc52 ("xfs: automatic dfops buffer relogging") leaves around some dead error handling code in xfs_dquot_disk_alloc(). This was discovered via Coverity scan. Since the associated commit eliminates the act of joining a buffer to a dfops, this intermediate error state is no longer possible and the error handling code can be removed. Since the caller cancels the transaction on error, which cancels the dfops, eliminate the unnecessary xfs_defer_cancel() call and error handling labels. Fixes: 82ff27bc52 ("xfs: automatic dfops buffer relogging") Reported-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions