summaryrefslogtreecommitdiffstats
path: root/include/linux/quotaops.h
diff options
context:
space:
mode:
authorFrank Mayhar2010-05-17 14:00:00 +0200
committerTheodore Ts'o2010-05-17 14:00:00 +0200
commit14ece1028b3ed53ffec1b1213ffc6acaf79ad77c (patch)
tree8f5a13487139c68ef775c9d39b7be83386fdae06 /include/linux/quotaops.h
parentext4: Drop whitespace at end of lines (diff)
downloadkernel-qcow2-linux-14ece1028b3ed53ffec1b1213ffc6acaf79ad77c.tar.gz
kernel-qcow2-linux-14ece1028b3ed53ffec1b1213ffc6acaf79ad77c.tar.xz
kernel-qcow2-linux-14ece1028b3ed53ffec1b1213ffc6acaf79ad77c.zip
ext4: Make fsync sync new parent directories in no-journal mode
Add a new ext4 state to tell us when a file has been newly created; use that state in ext4_sync_file in no-journal mode to tell us when we need to sync the parent directory as well as the inode and data itself. This fixes a problem in which a panic or power failure may lose the entire file even when using fsync, since the parent directory entry is lost. Addresses-Google-Bug: #2480057 Signed-off-by: Frank Mayhar <fmayhar@google.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/linux/quotaops.h')
0 files changed, 0 insertions, 0 deletions