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

Submitted by Konstantin Khorenko on Nov. 11, 2016, 9:15 a.m.

Details

Message ID 201611110915.uAB9FMAP029098@finist_cl7.x64_64.work.ct
State New
Series "Series without cover letter"
Headers show

Commit Message

Konstantin Khorenko Nov. 11, 2016, 9:15 a.m.
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@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@openvz.org>
---
 fs/xfs/xfs_buf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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