Whamcloud - gitweb
LU-3659 llog: missed dt_try_as_dir() in llog_osd_dir_get() 67/7267/5
authorNiu Yawei <yawei.niu@intel.com>
Thu, 8 Aug 2013 05:02:33 +0000 (01:02 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 26 Aug 2013 15:09:34 +0000 (15:09 +0000)
commit48f6c6f97823f0b64acaa17524b49132ab3058db
treec1376088f7a47617faaa9cb945b8854bbb665936
parentddb28cadcaaf4a443aa341e450ae651863816ac8
LU-3659 llog: missed dt_try_as_dir() in llog_osd_dir_get()

dt_try_as_dir() should be called in llog_osd_dir_get() to make sure
the do_index_ops being initialized.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I879c47bb59fbd28f3351f61e59cff2a6666e7d7a
Reviewed-on: http://review.whamcloud.com/7267
Tested-by: Hudson
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Keith Mannthey <keith.mannthey@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mgs/mgs_fs.c
lustre/mgs/mgs_llog.c
lustre/obdclass/llog_osd.c