summaryrefslogtreecommitdiff
path: root/fs/quota
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-02-16 19:37:12 (GMT)
committerJan Kara <jack@suse.cz>2010-03-04 23:20:26 (GMT)
commit86963918965eb8fe0c8ae009e7c1b4c630f533d5 (patch)
tree333371098928c834b0bda0c2fe5bfd591a3806ef /fs/quota
parente5472147e1c0712d95d973acfdbd862957c77add (diff)
downloadlinux-86963918965eb8fe0c8ae009e7c1b4c630f533d5.tar.xz
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')
0 files changed, 0 insertions, 0 deletions