Date: Sat, 17 Jan 2009 14:37:55 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r187363 - in stable/7/sys: . contrib/pf dev/cxgb ufs/ufs Message-ID: <200901171437.n0HEbtXM045191@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sat Jan 17 14:37:54 2009 New Revision: 187363 URL: http://svn.freebsd.org/changeset/base/187363 Log: MFC r186278: Do not busy twice the mount point where a quota operation is performed. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/ufs/ufs/ufs_vfsops.c Modified: stable/7/sys/ufs/ufs/ufs_vfsops.c ============================================================================== --- stable/7/sys/ufs/ufs/ufs_vfsops.c Sat Jan 17 14:31:41 2009 (r187362) +++ stable/7/sys/ufs/ufs/ufs_vfsops.c Sat Jan 17 14:37:54 2009 (r187363) @@ -118,9 +118,6 @@ ufs_quotactl(mp, cmds, id, arg, td) if ((u_int)type >= MAXQUOTAS) return (EINVAL); - if (vfs_busy(mp, LK_NOWAIT, 0, td)) - return (0); - switch (cmd) { case Q_QUOTAON: error = quotaon(td, mp, type, arg); @@ -150,7 +147,6 @@ ufs_quotactl(mp, cmds, id, arg, td) error = EINVAL; break; } - vfs_unbusy(mp, td); return (error); #endif }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901171437.n0HEbtXM045191>