From 500e8a093a221ba5c2b1eb8b22c728c203bc9710 Mon Sep 17 00:00:00 2001
From: shadow <shadow>
Date: Thu, 7 Aug 2008 17:42:52 +0000
Subject: [PATCH] Properly propagate oinfo flags from lov to osc for statfs

Branch HEAD
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 7aa93b32e0..a726c5a78f 100644
--- a/lustre/ChangeLog
+++ b/lustre/ChangeLog
@@ -12,6 +12,11 @@ tbd  Sun Microsystems, Inc.
        * RHEL 4 and RHEL 5/SLES 10 clients behaves differently on 'cd' to a
         removed cwd "./" (refer to Bugzilla 14399).
 
+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 2108879885..00805bb8ad 100644
--- a/lustre/lov/lov_request.c
+++ b/lustre/lov/lov_request.c
@@ -1653,6 +1653,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