rcu: Check both root and current rcu_node when setting up future grace period
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_buf_item.c
index 64b17f5bed9a73d7330313309e9cb162d1998670..4654338b03fc5a160247fbc9d0a52ffb26b79cf9 100644 (file)
@@ -1052,7 +1052,7 @@ xfs_buf_iodone_callbacks(
        static ulong            lasttime;
        static xfs_buftarg_t    *lasttarg;
 
-       if (likely(!xfs_buf_geterror(bp)))
+       if (likely(!bp->b_error))
                goto do_callbacks;
 
        /*