aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 92655fd89657..7dbcc3e84570 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -1881,7 +1881,7 @@ static void ext4_end_io_buffer_write(struct buffer_head *bh, int uptodate);
1881 * a[0] = 'a'; 1881 * a[0] = 'a';
1882 * truncate(f, 4096); 1882 * truncate(f, 4096);
1883 * we have in the page first buffer_head mapped via page_mkwrite call back 1883 * we have in the page first buffer_head mapped via page_mkwrite call back
1884 * but other bufer_heads would be unmapped but dirty(dirty done via the 1884 * but other buffer_heads would be unmapped but dirty (dirty done via the
1885 * do_wp_page). So writepage should write the first block. If we modify 1885 * do_wp_page). So writepage should write the first block. If we modify
1886 * the mmap area beyond 1024 we will again get a page_fault and the 1886 * the mmap area beyond 1024 we will again get a page_fault and the
1887 * page_mkwrite callback will do the block allocation and mark the 1887 * page_mkwrite callback will do the block allocation and mark the
@@ -3469,7 +3469,7 @@ int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
3469 * transaction, and VFS/VM ensures that ext4_truncate() cannot run 3469 * transaction, and VFS/VM ensures that ext4_truncate() cannot run
3470 * simultaneously on behalf of the same inode. 3470 * simultaneously on behalf of the same inode.
3471 * 3471 *
3472 * As we work through the truncate and commmit bits of it to the journal there 3472 * As we work through the truncate and commit bits of it to the journal there
3473 * is one core, guiding principle: the file's tree must always be consistent on 3473 * is one core, guiding principle: the file's tree must always be consistent on
3474 * disk. We must be able to restart the truncate after a crash. 3474 * disk. We must be able to restart the truncate after a crash.
3475 * 3475 *