Author: jhb
Date: Mon Aug 31 11:54:13 2009
New Revision: 196693
URL: http://svn.freebsd.org/changeset/base/196693

Log:
  MFC a part of 191990:
  Fix compile of UFS_EXTATTR without UFS_EXTATTR_AUTOSTART.
  
  PR:           kern/138350

Modified:
  stable/7/sys/ufs/ufs/ufs_extattr.c

Modified: stable/7/sys/ufs/ufs/ufs_extattr.c
==============================================================================
--- stable/7/sys/ufs/ufs/ufs_extattr.c  Mon Aug 31 10:20:52 2009        
(r196692)
+++ stable/7/sys/ufs/ufs/ufs_extattr.c  Mon Aug 31 11:54:13 2009        
(r196693)
@@ -93,8 +93,10 @@ static int   ufs_extattr_set(struct vnode 
                    struct thread *td);
 static int     ufs_extattr_rm(struct vnode *vp, int attrnamespace,
                    const char *name, struct ucred *cred, struct thread *td);
+#ifdef UFS_EXTATTR_AUTOSTART
 static int     ufs_extattr_autostart_locked(struct mount *mp,
                    struct thread *td);
+#endif
 static int     ufs_extattr_start_locked(struct ufsmount *ump,
                    struct thread *td);
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to