From f9c0168abaf4b53a771ac2bb527c42a03ed7a90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20St=C3=BChn?= Date: Fri, 26 Jun 2015 07:06:53 -0600 Subject: [PATCH] =?UTF-8?q?NFS:=20Fix=20prototype=20of=20unbind=20method.?= =?UTF-8?q?=20=20The=20function=20prototype=20was=20not=20updated=20for=20?= =?UTF-8?q?NFS=20after=20a=20recent=20change=20to=20the=20file=20system=20?= =?UTF-8?q?interface.=20=20From=20Manuel=20St=C3=BChn.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fs/nfs/nfs_vfsops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/nfs/nfs_vfsops.c b/fs/nfs/nfs_vfsops.c index c9536f44af..029885dea7 100644 --- a/fs/nfs/nfs_vfsops.c +++ b/fs/nfs/nfs_vfsops.c @@ -144,7 +144,7 @@ static void nfs_decode_args(FAR struct nfs_mount_parameters *nprmt, FAR struct nfs_args *argp); static int nfs_bind(FAR struct inode *blkdriver, const void *data, void **handle); -static int nfs_unbind(void *handle, FAR struct inode **blkdriver. +static int nfs_unbind(FAR void *handle, FAR struct inode **blkdriver, unsigned int flags); static int nfs_statfs(struct inode *mountpt, struct statfs *buf); static int nfs_remove(struct inode *mountpt, const char *relpath); @@ -1873,8 +1873,8 @@ bad: * ****************************************************************************/ -int nfs_unbind(FAR void *handle, FAR struct inode **blkdriver, - unsigned int flags) +static int nfs_unbind(FAR void *handle, FAR struct inode **blkdriver, + unsigned int flags) { FAR struct nfsmount *nmp = (FAR struct nfsmount *)handle; int error;