android_kernel_motorola_sm6225/fs/ubifs
Artem Bityutskiy 4994297606 UBIFS: make ubifs_lpt_init clean-up in case of failure
Most functions in UBIFS follow the following designn pattern: if the function
allocates multiple resources, and failss at some point, it frees what it has
allocated and returns an error. So the caller can rely on the fact that the
callee has cleaned up everything after own failure.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Acked-by: Sidney Amani <seed95@gmail.com>
2012-05-20 20:19:01 +03:00
..
budget.c writeback: Add a 'reason' to wb_writeback_work 2011-10-31 00:33:36 +08:00
commit.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
compress.c UBIFS: fix sparse warnings 2008-12-31 14:13:24 +02:00
debug.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
debug.h UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
dir.c UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
file.c UBIFS: rename dumping functions 2012-05-16 19:15:56 +03:00
find.c UBIFS: introduce a separate structure for budgeting info 2011-05-13 19:23:53 +03:00
gc.c UBIFS: synchronize write-buffer before switching to the next bud 2011-05-16 10:31:41 +03:00
io.c UBIFS: rename dumping functions 2012-05-16 19:15:56 +03:00
ioctl.c vfs: mnt_drop_write_file() 2012-01-03 22:52:40 -05:00
journal.c UBIFS: rename dumping functions 2012-05-16 19:15:56 +03:00
Kconfig UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
key.h UBIFS: mark unused key objects as invalid 2010-08-30 10:19:08 +03:00
log.c UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
lprops.c UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
lpt.c UBIFS: make ubifs_lpt_init clean-up in case of failure 2012-05-20 20:19:01 +03:00
lpt_commit.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
Makefile UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
master.c UBIFS: rename dumping functions 2012-05-16 19:15:56 +03:00
misc.h UBIFS: introduce more I/O helpers 2011-07-04 10:54:33 +03:00
orphan.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
recovery.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
replay.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
sb.c UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
scan.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
shrinker.c UBIFS: fix shrinker object count reports 2011-06-03 18:12:24 +03:00
super.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
tnc.c UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
tnc_commit.c UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
tnc_misc.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00
ubifs-media.h UBIFS: add a superblock flag for free space fix-up 2011-05-16 14:12:14 +03:00
ubifs.h UBIFS: remove Kconfig debugging option 2012-05-16 19:53:46 +03:00
xattr.c UBIFS: get rid of dbg_err 2012-05-16 20:11:23 +03:00