diff options
author | Jan Kara <jack@suse.cz> | 2010-02-16 14:37:12 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2010-03-04 18:20:26 -0500 |
commit | 86963918965eb8fe0c8ae009e7c1b4c630f533d5 (patch) | |
tree | 333371098928c834b0bda0c2fe5bfd591a3806ef /fs/quota/dquot.c | |
parent | e5472147e1c0712d95d973acfdbd862957c77add (diff) |
jbd: Delay discarding buffers in journal_unmap_buffer
Delay discarding buffers in journal_unmap_buffer until
we know that "add to orphan" operation has definitely been
committed, otherwise the log space of committing transation
may be freed and reused before truncate get committed, updates
may get lost if crash happens.
This patch is a backport of JBD2 fix by dingdinghua <dingdinghua@nrchpc.ac.cn>.
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/dquot.c')
0 files changed, 0 insertions, 0 deletions