]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/hostfs/hostfs_kern.c
[PATCH] fuse: don't update file times
[linux-2.6-omap-h63xx.git] / fs / hostfs / hostfs_kern.c
index b2d18200a003f0feb8cdd41fb7ad9cb0ed18dc15..59c5062cd63f3bcc8af85edbdabda742a0c88325 100644 (file)
@@ -284,6 +284,7 @@ static struct inode *hostfs_alloc_inode(struct super_block *sb)
 
 static void hostfs_delete_inode(struct inode *inode)
 {
+       truncate_inode_pages(&inode->i_data, 0);
        if(HOSTFS_I(inode)->fd != -1) {
                close_file(&HOSTFS_I(inode)->fd);
                HOSTFS_I(inode)->fd = -1;