diff options
author | Jiaying Zhang <jiayingz@google.com> | 2010-03-02 21:28:44 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-03-02 21:28:44 +0300 |
commit | c7064ef13b2181a489836349f9baf87df0dab28f (patch) | |
tree | 433d86d9ed4285e5c5e7f24fbbaa7f48fad09381 /fs/ext4/fsync.c | |
parent | b8b8afe236e97b6359d46d3a3f8c46455e192271 (diff) | |
download | linux-c7064ef13b2181a489836349f9baf87df0dab28f.tar.xz |
ext4: mechanical rename some of the direct I/O get_block's identifiers
This commit renames some of the direct I/O's block allocation flags,
variables, and functions introduced in Mingming's "Direct IO for holes
and fallocate" patches so that they can be used by ext4's buffered
write path as well. Also changed the related function comments
accordingly to cover both direct write and buffered write cases.
Signed-off-by: Jiaying Zhang <jiayingz@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fsync.c')
-rw-r--r-- | fs/ext4/fsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c index 98bd140aad01..0d0c3239c1cd 100644 --- a/fs/ext4/fsync.c +++ b/fs/ext4/fsync.c @@ -63,7 +63,7 @@ int ext4_sync_file(struct file *file, struct dentry *dentry, int datasync) if (inode->i_sb->s_flags & MS_RDONLY) return 0; - ret = flush_aio_dio_completed_IO(inode); + ret = flush_completed_IO(inode); if (ret < 0) return ret; |