aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/delegation.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-12-23 15:21:53 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-12-23 15:21:53 -0500
commitbd7bf9d540c001055fba796ebf146d90e4dd2eb2 (patch)
tree29f49d2244d390055126280903e9d647e10cdbd8 /fs/nfs/delegation.c
parent9082a5cc1e33d081f091f54e6ed69a0628a4bdcc (diff)
NFSv4: Convert delegation->type field to fmode_t
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/delegation.c')
-rw-r--r--fs/nfs/delegation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/delegation.c b/fs/nfs/delegation.c
index e75f2f8c5245..968225a88015 100644
--- a/fs/nfs/delegation.c
+++ b/fs/nfs/delegation.c
@@ -48,7 +48,7 @@ void nfs_mark_delegation_referenced(struct nfs_delegation *delegation)
48 set_bit(NFS_DELEGATION_REFERENCED, &delegation->flags); 48 set_bit(NFS_DELEGATION_REFERENCED, &delegation->flags);
49} 49}
50 50
51int nfs_have_delegation(struct inode *inode, int flags) 51int nfs_have_delegation(struct inode *inode, fmode_t flags)
52{ 52{
53 struct nfs_delegation *delegation; 53 struct nfs_delegation *delegation;
54 int ret = 0; 54 int ret = 0;