From 5e880a14eb9f73b8206fb7f48d88c5e866115b3b Mon Sep 17 00:00:00 2001 From: Ashok Vairavan Date: Tue, 9 Aug 2016 11:06:22 -0700 Subject: [PATCH] Fix compilation error introduced by "cancel the setfilesize transation when io error happen" xfs_trans_cancel() has two args in UEK4. Orabug: 24385189 Signed-off-by: Ashok Vairavan --- fs/xfs/xfs_aops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index ee4c0e7f9b84..191d9dac5afc 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c @@ -176,7 +176,7 @@ xfs_setfilesize_ioend( /* we abort the update if there was an IO error */ if (ioend->io_error) { - xfs_trans_cancel(tp); + xfs_trans_cancel(tp, 0); return ioend->io_error; } -- 2.50.1