]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Fix compilation error introduced by "cancel the setfilesize transation
authorAshok Vairavan <avairava@ca-dev48.us.oracle.com>
Tue, 9 Aug 2016 18:06:22 +0000 (11:06 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 31 Oct 2016 00:04:50 +0000 (17:04 -0700)
when io error happen"

xfs_trans_cancel() has two args in UEK4.

Orabug: 24385189
Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
fs/xfs/xfs_aops.c

index ee4c0e7f9b84d1e63c9c097145386bdc9b97c9da..191d9dac5afc1e6cafcb393f3fe9c156e5548728 100644 (file)
@@ -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;
        }