aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authordingdinghua <dingdinghua@nrchpc.ac.cn>2010-02-15 16:35:42 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-02-15 16:35:42 -0500
commitba869023eac8354b17acdcff82b851ea8e7b1809 (patch)
treec461ae44ed5f9fc45573c14c74548f3f50109547 /fs/ext4/inode.c
parentaca92ff6f57c000d1b4523e383c8bd6b8269b8b1 (diff)
downloadkernel_samsung_smdk4412-ba869023eac8354b17acdcff82b851ea8e7b1809.zip
kernel_samsung_smdk4412-ba869023eac8354b17acdcff82b851ea8e7b1809.tar.gz
kernel_samsung_smdk4412-ba869023eac8354b17acdcff82b851ea8e7b1809.tar.bz2
jbd2: 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. Signed-off-by: dingdinghua <dingdinghua@nrchpc.ac.cn> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions