jbd2: tidy up revoke cache initialisation and destruction
authorDuane Griffin <duaneg@dghda.com>
Mon, 28 Apr 2008 13:40:00 +0000 (09:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 28 Apr 2008 13:40:00 +0000 (09:40 -0400)
Make revocation cache destruction safe to call if initialisation fails
partially or entirely.  This allows it to be used to cleanup in the case of
initialisation failure, simplifying the code slightly.

Signed-off-by: Duane Griffin <duaneg@dghda.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

No differences found