From ab706a702bc2ed7e38641bf9d3b2296b2311e69e Mon Sep 17 00:00:00 2001
From: shadow <shadow>
Date: Fri, 8 Aug 2008 06:19:49 +0000
Subject: [PATCH] Properly propagate oinfo flags from lov to osc for statfs
 Branch b1_6 b=16006 i=shadow i=johann

---
 lustre/ChangeLog         | 5 +++++
 lustre/lov/lov_request.c | 1 +
 2 files changed, 6 insertions(+)

diff --git a/lustre/ChangeLog b/lustre/ChangeLog
index a16f3c9558..fb8879f35d 100644
--- a/lustre/ChangeLog
+++ b/lustre/ChangeLog
@@ -82,6 +82,11 @@ tbd Sun Microsystems, Inc.
 	* Output of lfs quota has been made less detailed by default,
 	  old (verbose) output can be obtained by using -v option.
 
+Severity   : normal
+Bugzilla   : 16006
+Description: Properly propagate oinfo flags from lov to osc for statfs   
+Details    : restore missing copy oi_flags to lov requests.
+
 Severity   : enhancement
 Bugzilla   : 16581
 Description: Add man pages for llobdstat(8), llstat(8), plot-llstat(8),
diff --git a/lustre/lov/lov_request.c b/lustre/lov/lov_request.c
index 9db9bd131a..9fde960539 100644
--- a/lustre/lov/lov_request.c
+++ b/lustre/lov/lov_request.c
@@ -1639,6 +1639,7 @@ int lov_prep_statfs_set(struct obd_device *obd, struct obd_info *oinfo,
 
                 req->rq_idx = i;
                 req->rq_oi.oi_cb_up = cb_statfs_update;
+                req->rq_oi.oi_flags = oinfo->oi_flags;
                 req->rq_rqset = set;
 
                 lov_set_add_req(req, set);
-- 
GitLab