Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
extern const struct file_operations nfs_file_operations;
extern const struct address_space_operations nfs_file_aops;
extern const struct file_operations nfs_file_operations;
extern const struct address_space_operations nfs_file_aops;
+static inline struct nfs_open_context *nfs_file_open_context(struct file *filp)
+{
+ return filp->private_data;
+}
+
static inline struct rpc_cred *nfs_file_cred(struct file *file)
{
if (file != NULL) {
static inline struct rpc_cred *nfs_file_cred(struct file *file)
{
if (file != NULL) {