Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2017 19:57:55 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326995 - head/sys/fs/fuse
Message-ID:  <201712191957.vBJJvtJD089002@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Tue Dec 19 19:57:55 2017
New Revision: 326995
URL: https://svnweb.freebsd.org/changeset/base/326995

Log:
  Use FUSE_LINK_MAX for LINK_MAX in fuse' VOP_PATHCONF().
  
  Should have included this in r326993.
  
  MFC after:	1 month
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/fs/fuse/fuse_vnops.c

Modified: head/sys/fs/fuse/fuse_vnops.c
==============================================================================
--- head/sys/fs/fuse/fuse_vnops.c	Tue Dec 19 19:53:34 2017	(r326994)
+++ head/sys/fs/fuse/fuse_vnops.c	Tue Dec 19 19:57:55 2017	(r326995)
@@ -1188,7 +1188,7 @@ fuse_vnop_pathconf(struct vop_pathconf_args *ap)
 		*ap->a_retval = NAME_MAX;
 		return (0);
 	case _PC_LINK_MAX:
-		*ap->a_retval = LINK_MAX;
+		*ap->a_retval = FUSE_LINK_MAX;
 		return (0);
 	case _PC_SYMLINK_MAX:
 		*ap->a_retval = MAXPATHLEN;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712191957.vBJJvtJD089002>