diff options
author | Jan Kara <jack@suse.cz> | 2009-01-15 13:51:29 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-15 16:39:42 -0800 |
commit | 6b7021ef7e1a703c7092daeceda063951b22b4f6 (patch) | |
tree | ee2a92121f102bc8e948c17a3fa4a357f6687f2a /samples | |
parent | 634a84f8d5b74da497688d3346f6809c28239eda (diff) | |
download | linux-6b7021ef7e1a703c7092daeceda063951b22b4f6.tar.bz2 |
ext2: also update the inode on disk when dir is IS_DIRSYNC
We used to just write changed page for IS_DIRSYNC inodes. But we also
have to update the directory inode itself just for the case that we've
allocated a new block and changed i_size.
[akpm@linux-foundation.org: still sync the data page]
Signed-off-by: Jan Kara <jack@suse.cz>
Tested-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions