]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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)
commit9fa27c85de57d38ca698f4e34fdd1ab06b6c8e49
tree16210fafaf4a83b7e5796cd3ed0144e279d14019
parent418f6e9e5b77443a66f4457bc60f391e4fba8ad8
jbd2: tidy up revoke cache initialisation and destruction

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>
fs/jbd2/revoke.c