]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/tiny-shmem.c
[PATCH] autofs4: change AUTOFS_TYP_* AUTOFS_TYPE_*
[linux-2.6-omap-h63xx.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;