commit | bd7bf9d540c001055fba796ebf146d90e4dd2eb2 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Dec 23 15:21:53 2008 -0500 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Dec 23 15:21:53 2008 -0500 |
tree | 29f49d2244d390055126280903e9d647e10cdbd8 | |
parent | 9082a5cc1e33d081f091f54e6ed69a0628a4bdcc [diff] [blame] |
NFSv4: Convert delegation->type field to fmode_t Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/fs/nfs/delegation.c b/fs/nfs/delegation.c index e75f2f8..968225a 100644 --- a/fs/nfs/delegation.c +++ b/fs/nfs/delegation.c
@@ -48,7 +48,7 @@ set_bit(NFS_DELEGATION_REFERENCED, &delegation->flags); } -int nfs_have_delegation(struct inode *inode, int flags) +int nfs_have_delegation(struct inode *inode, fmode_t flags) { struct nfs_delegation *delegation; int ret = 0;