[Devel] [PATCH RHEL7 COMMIT] xfs: compilation fix in xfs_buftarg_wait_rele()

Konstantin Khorenko khorenko at virtuozzo.com
Fri Nov 11 01:15:22 PST 2016


The commit is pushed to "branch-rh7-3.10.0-493.vz7.25.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-493.el7
------>
commit a7df44fbebed6954ea001ce4bfdc023454ec1fc1
Author: Dmitry Monakhov <dmonakhov at openvz.org>
Date:   Fri Nov 11 13:15:22 2016 +0400

    xfs: compilation fix in xfs_buftarg_wait_rele()
    
    To be merged into 661c0b9b33ce924344a100a6580165c265547b4c
    ("ms/xfs: convert buftarg LRU to generic code")
    
    Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
---
 fs/xfs/xfs_buf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index e379876..28ad0bf 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -1582,7 +1582,7 @@ xfs_buftarg_wait_rele(
 
 {
 	struct xfs_buf		*bp = container_of(item, struct xfs_buf, b_lru);
-
+	struct xfs_buftarg	*btp = bp->b_target;
 	/*
 	 * First wait on the buftarg I/O count for all in-flight buffers to be
 	 * released. This is critical as new buffers do not make the LRU until


More information about the Devel mailing list