summaryrefslogtreecommitdiff
path: root/fs/qnx6
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2012-08-13 19:43:26 (GMT)
committerChris Mason <chris.mason@fusionio.com>2012-10-01 19:19:02 (GMT)
commit7c735313bd1277c2eb28421934d4c7a0fa7339f7 (patch)
treeff0693d2aafb89b3a4bb5d4d6be37f54b8389423 /fs/qnx6
parent995e01b7af745b8aaa5e882cfb7bfd5baab3f335 (diff)
downloadlinux-fsl-qoriq-7c735313bd1277c2eb28421934d4c7a0fa7339f7.tar.xz
Btrfs: update last trans if we don't update the inode
There is a completely impossible situation to hit where you can preallocate a file, fsync it, write into the preallocated region, have the transaction commit twice and then fsync and then immediately lose power and lose all of the contents of the write. This patch fixes this just so I feel better about the situation and because it is lightweight, we just update the last_trans when we finish an ordered IO and we don't update the inode itself. This way we are completely safe and I feel better. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/qnx6')
0 files changed, 0 insertions, 0 deletions