Files
linux/fs/ext4
Frank Mayhar 282d021743 ext4: Make fsync sync new parent directories in no-journal mode
commit 14ece1028b upstream (as of v2.6.34-git13)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-02 10:21:23 -07:00
..
2010-08-02 10:21:23 -07:00
2009-10-01 02:21:07 -04:00
2008-10-10 20:02:48 -04:00
2008-10-10 20:02:48 -04:00