@@ -2880,7 +2880,7 @@ static void ext4_end_io_dio(struct kiocb *iocb, loff_t offset,
bool is_async)
{
struct inode *inode = iocb->ki_filp->f_path.dentry->d_inode;
- ext4_io_end_t *io_end = iocb->private;
+ ext4_io_end_t *io_end = iocb->private;
/* if not async direct IO or dio with 0 bytes write, just return */
if (!io_end || !size)
@@ -3435,9 +3435,9 @@ static int ext4_discard_partial_page_buffers_no_lock(handle_t *handle,
zero_user(page, pos, range_to_discard);
err = 0;
- if (ext4_should_journal_data(inode)) {
+ if (ext4_should_journal_data(inode))
err = ext4_handle_dirty_metadata(handle, inode, bh);
- } else
+ else
mark_buffer_dirty(bh);
BUFFER_TRACE(bh, "Partial buffer zeroed");
Fixed coding style issue reported by checkpatch.pl Signed-off-by: Adil Mujeeb <mujeeb.adil@gmail.com> --- linux-3.7-rc1/fs/ext4/inode.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)