Whamcloud - gitweb
LU-7912 osc: Remove stale comment in osc_page_transfer_add 15/19115/8
authorOleg Drokin <oleg.drokin@intel.com>
Thu, 24 Mar 2016 00:19:46 +0000 (20:19 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 12 Jul 2019 17:27:22 +0000 (17:27 +0000)
Ever since LU-3321 the fileds were not shared,
but then ops_inflight was completely deleted too.

Test-Parameters: trivial
Change-Id: I7b235f10ddb26a7ddbd4de7e502d33ee81a4f2e3
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: https://review.whamcloud.com/19115
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osc/osc_page.c

index 7a7dc1d..caa9f59 100644 (file)
@@ -84,8 +84,6 @@ static void osc_page_transfer_add(const struct lu_env *env,
 {
        struct osc_object *obj = cl2osc(opg->ops_cl.cpl_obj);
 
-       /* ops_lru and ops_inflight share the same field, so take it from LRU
-        * first and then use it as inflight. */
        osc_lru_use(osc_cli(obj), opg);
 }