]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/9p/vfs_file.c
Merge remote-tracking branch 'vfs/for-next'
[karo-tx-linux.git] / fs / 9p / vfs_file.c
index a9a2a67e259aece452e73fc279cbe790edb13104..ec99a96f86eb70b093ae4fc1aed4a314b00eedce 100644 (file)
@@ -105,10 +105,8 @@ int v9fs_file_open(struct inode *inode, struct file *file)
                v9inode->writeback_fid = (void *) fid;
        }
        mutex_unlock(&v9inode->v_mutex);
-#ifdef CONFIG_9P_FSCACHE
        if (v9ses->cache)
                v9fs_cache_inode_set_cookie(inode, file);
-#endif
        return 0;
 out_error:
        p9_client_clunk(file->private_data);