]> git.baikalelectronics.ru Git - kernel.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)
commit405143f51ffefb027c7875a7a1f5753979e4c242
tree16210fafaf4a83b7e5796cd3ed0144e279d14019
parent2c0664f2355e666a5de2c2976f6b2c2a7980c838
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