]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/9p/vfs_file.c
sparc64: merge fix
[karo-tx-linux.git] / fs / 9p / vfs_file.c
index aa5ecf479a57bf1614100011de047d8c184c620e..a0df3e73c2b128e01ede3519b1c2aae2d8b09f28 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);