xfs: force the log if we encounter pinned buffers in .iop_pushbuf
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_buf_item.c
index 7b7e005e3dccd3620ddf66ff334dfe4f6e94bc03..a7342e840d77608fa92adf92c71647f45aac4b94 100644 (file)
@@ -632,7 +632,7 @@ xfs_buf_item_push(
  * the xfsbufd to get this buffer written. We have to unlock the buffer
  * to allow the xfsbufd to write it, too.
  */
-STATIC void
+STATIC bool
 xfs_buf_item_pushbuf(
        struct xfs_log_item     *lip)
 {
@@ -646,6 +646,7 @@ xfs_buf_item_pushbuf(
 
        xfs_buf_delwri_promote(bp);
        xfs_buf_relse(bp);
+       return true;
 }
 
 STATIC void