diff options
Diffstat (limited to 'fs/ext4/ioctl.c')
-rw-r--r-- | fs/ext4/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c index dc99b4776d58..42dc83fb247a 100644 --- a/fs/ext4/ioctl.c +++ b/fs/ext4/ioctl.c | |||
@@ -99,7 +99,7 @@ long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) | |||
99 | goto flags_out; | 99 | goto flags_out; |
100 | } | 100 | } |
101 | if (IS_SYNC(inode)) | 101 | if (IS_SYNC(inode)) |
102 | handle->h_sync = 1; | 102 | ext4_handle_sync(handle); |
103 | err = ext4_reserve_inode_write(handle, inode, &iloc); | 103 | err = ext4_reserve_inode_write(handle, inode, &iloc); |
104 | if (err) | 104 | if (err) |
105 | goto flags_err; | 105 | goto flags_err; |