]> Pileus Git - ~andy/linux/blobdiff - fs/ext4/ioctl.c
ext4: Allow ext4 to run without a journal
[~andy/linux] / fs / ext4 / ioctl.c
index dc99b4776d58f052806b322b1bd91f8c7765ff83..42dc83fb247a98f6dd4450314bf2f96d4e36c175 100644 (file)
@@ -99,7 +99,7 @@ long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
                        goto flags_out;
                }
                if (IS_SYNC(inode))
-                       handle->h_sync = 1;
+                       ext4_handle_sync(handle);
                err = ext4_reserve_inode_write(handle, inode, &iloc);
                if (err)
                        goto flags_err;