Artem Bityutskiy de94eb558b UBIFS: optimize deletions
Every time anything is deleted, UBIFS writes the deletion inode
node twice - once in 'ubifs_jnl_update()' and the second time in
'ubifs_jnl_write_inode()'. However, the second write is not needed
if no commit happened after 'ubifs_jnl_update()'. This patch
checks that condition and avoids writing the deletion inode for
the second time.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2008-08-13 11:28:44 +03:00
..
2008-08-13 11:20:05 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-08-13 11:20:05 +03:00
2008-08-13 11:20:07 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-08-13 11:24:26 +03:00
2008-07-15 17:35:15 +03:00
2008-08-13 11:28:44 +03:00
2008-07-15 17:35:24 +03:00
2008-07-15 17:35:15 +03:00
2008-08-13 11:27:47 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:24 +03:00
2008-07-15 17:35:15 +03:00
2008-08-13 11:24:26 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-08-13 11:28:44 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-07-15 17:35:15 +03:00
2008-08-13 11:28:44 +03:00
2008-07-15 17:35:15 +03:00