Whamcloud - gitweb
LU-2097 quota: missing ll_vfs_dq_init()
authorNiu Yawei <niu@whamcloud.com>
Mon, 8 Oct 2012 09:55:36 +0000 (05:55 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 9 Oct 2012 02:51:45 +0000 (22:51 -0400)
commit6e7b7f67c9d382a5e543199d1bf9cf277e99ea03
treef9fb758af4ecdccaf861c67716c3b4920e22af3c
parentfc7e0f430a175e258af128e01945b95180fd9c66
LU-2097 quota: missing ll_vfs_dq_init()

ll_vfs_dq_init() should be called before operating on the system
objects (like llog, oi, last_rcvd, etc.), otherwise, block accounting
will be missed if object is already existing.

Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: I922c9ca8caebf52ae07fd130c41286dad68c1b8f
Reviewed-on: http://review.whamcloud.com/4220
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osd-ldiskfs/osd_io.c
lustre/osd-ldiskfs/osd_oi.c