[IA64] fix PCI DMA flag propagation on SN (Altix) with PICs
[pandora-kernel.git] / fs / ext4 / ioctl.c
index dc99b47..42dc83f 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;