summaryrefslogtreecommitdiff
path: root/include/linux/quotaops.h
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-02-16 22:37:12 +0300
committerJan Kara <jack@suse.cz>2010-03-05 02:20:26 +0300
commit86963918965eb8fe0c8ae009e7c1b4c630f533d5 (patch)
tree333371098928c834b0bda0c2fe5bfd591a3806ef /include/linux/quotaops.h
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 'include/linux/quotaops.h')
0 files changed, 0 insertions, 0 deletions