Whamcloud - gitweb
LU-2092 Free quota pools before removing quota master proc entry
authorOleg Drokin <green@whamcloud.com>
Thu, 4 Oct 2012 23:13:14 +0000 (19:13 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 5 Oct 2012 14:57:00 +0000 (10:57 -0400)
commit8483a7d0f6518a3cdf513489d23d9caf1a31347d
tree556d7e456a125fe2cac47feb61bacce370904c2b
parent38555069bf3de77726a1afb9d15911bc4db484b7
LU-2092 Free quota pools before removing quota master proc entry

When quota master proc entry is removed, it reqursively removes
all children entries including quota pool ones, then when quota pools
are freed they try to unregister already not present proc entries and
crash/lockup.
So free pools before unregistering any proc entires.

Change-Id: Ice0be373bacbd54f4863aec92fb2427c7fe27464
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/4191
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: wangdi <di.wang@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/quota/qmt_dev.c