staging: rename omap-thermal driver to ti-soc-thermal
[deliverable/linux.git] / drivers / char / ps3flash.c
index 588063ac9517976cc1952d0411ac0df25226a83f..8cafa9ccd43f0e7805a86fb0edb8f6ffa526363b 100644 (file)
@@ -312,7 +312,7 @@ static int ps3flash_flush(struct file *file, fl_owner_t id)
 
 static int ps3flash_fsync(struct file *file, loff_t start, loff_t end, int datasync)
 {
-       struct inode *inode = file->f_path.dentry->d_inode;
+       struct inode *inode = file_inode(file);
        int err;
        mutex_lock(&inode->i_mutex);
        err = ps3flash_writeback(ps3flash_dev);
This page took 0.025149 seconds and 5 git commands to generate.