From: Ashok Vairavan Date: Tue, 9 Aug 2016 18:06:22 +0000 (-0700) Subject: Fix compilation error introduced by "cancel the setfilesize transation X-Git-Tag: v4.1.12-92~50^2~3 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5e880a14eb9f73b8206fb7f48d88c5e866115b3b;p=users%2Fjedix%2Flinux-maple.git 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 --- 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; }