[XFS] Fix barrier status change detection.
authorDavid Chinner <david@fromorbit.com>
Wed, 17 Sep 2008 06:50:50 +0000 (16:50 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Wed, 17 Sep 2008 06:50:50 +0000 (16:50 +1000)
commitb5b8c9acd547244eb2b7d0280ba38b9dd01971cc
treeed441ac656570773941463a2d9e14032df5b6c36
parent364f358a734ddcd827c662ccbfa58ee3ac510762
[XFS] Fix barrier status change detection.

The current code in xlog_iodone() uses the wrong macro to check if the
barrier has been cleared due to an EOPNOTSUPP error form the lower layer.

SGI-PV: 986143

SGI-Modid: xfs-linux-melb:xfs-kern:31984a

Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Nathaniel W. Turner <nate@houseofnate.net>
Signed-off-by: Peter Leckie <pleckie@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_log.c