Whamcloud - gitweb
LU-3635 hsm: Fix ASSERT(inode->i_nlink > 0) 11/7111/2
authorAurelien Degremont <aurelien.degremont@cea.fr>
Fri, 19 Jul 2013 20:26:48 +0000 (22:26 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 29 Jul 2013 21:00:48 +0000 (21:00 +0000)
commitb641d44bf4e95b635b031f17392ab4b672ebdb09
tree561983dc57152b0df928ea8ce96d1b7c9a773c55
parentb82b1b17c38709014a6a15e4dbb7d50558ad81a4
LU-3635 hsm: Fix ASSERT(inode->i_nlink > 0)

Two different handlers were setup to access Agent LLOG.
One for coordinator access, and one for /proc accesses.
Both tried to clean the LLOG content when closing it, leading to
crashes.
Both now used handler initialized by MDS.

Signed-off-by: Aurelien Degremont <aurelien.degremont@cea.fr>
Change-Id: Ia6f22e9173266faf56a25e77fa5c9ae1bf69dc71
Reviewed-on: http://review.whamcloud.com/7111
Tested-by: Hudson
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_hsm_cdt_actions.c