[ARM] 3594/1: Poodle: Add touchscreen support + other updates
[deliverable/linux.git] / mm / tiny-shmem.c
index cdc6d431972b74c8aacd9e07ec32f95e73d5d55e..f9d6a9cc91c4bc806700c6119f45e34283abdeb7 100644 (file)
@@ -90,7 +90,7 @@ struct file *shmem_file_setup(char *name, loff_t size, unsigned long flags)
        file->f_mode = FMODE_WRITE | FMODE_READ;
 
        /* notify everyone as to the change of file size */
-       error = do_truncate(dentry, size, file);
+       error = do_truncate(dentry, size, 0, file);
        if (error < 0)
                goto close_file;
 
This page took 0.024461 seconds and 5 git commands to generate.