<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/gnu/fs, branch release/9.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F9.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2013-04-05T08:22:11Z</updated>
<entry>
<title>MFC r227293 (by ed):</title>
<updated>2013-04-05T08:22:11Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2013-04-05T08:22:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1139d398ea93668ee65ae02b8ceab630ca9e5487'/>
<id>urn:sha1:1139d398ea93668ee65ae02b8ceab630ca9e5487</id>
<content type='text'>
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.

This means that their use is restricted to a single C file.
</content>
</entry>
<entry>
<title>MFC: r227309 (partial)</title>
<updated>2013-03-09T02:36:32Z</updated>
<author>
<name>Marius Strobl</name>
<email>marius@FreeBSD.org</email>
</author>
<published>2013-03-09T02:36:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7b1b32ed4582e7bcdd416c4718d0d79ebaea192d'/>
<id>urn:sha1:7b1b32ed4582e7bcdd416c4718d0d79ebaea192d</id>
<content type='text'>
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.

The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.
</content>
</entry>
<entry>
<title>MFC r239959:</title>
<updated>2012-09-07T17:58:36Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2012-09-07T17:58:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=97418a1d7825a6c66bc2108b3e6731e7fc4af186'/>
<id>urn:sha1:97418a1d7825a6c66bc2108b3e6731e7fc4af186</id>
<content type='text'>
  Work around several warnings from clang in the xfs filesystem, when
  linking it statically into the kernel.  With our gcc in base there are
  no warnings, so also remove the WERROR= from the module makefile.

  Noted by:	Eir Nym &lt;eirnym@gmail.com&gt;

MFC r240011:

  Partially revert r239959, after actually fixing most of the clang
  warnings in sys/gnu/fs/xfs.  The only warnings that still need to be
  suppressed are those about array bound overruns of flexible array
  members in xfs_dir2_{block,sf}.c, which are too expensive (in terms of
  cascading code changes) to fix.
</content>
</entry>
<entry>
<title>MFC r238980:</title>
<updated>2012-09-02T03:36:57Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2012-09-02T03:36:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8af7abb85c8d42aa6d4c92b0222a8140baa63396'/>
<id>urn:sha1:8af7abb85c8d42aa6d4c92b0222a8140baa63396</id>
<content type='text'>
  Just like the other file systems found in /sys/fs, g_vfs_open()
should be paried with g_vfs_close().  Though g_vfs_close() is a wrapper
around g_wither_geom_close(), r206130 added the following test in
g_vfs_open():

	if (bo-&gt;bo_private != vp)
		return (EBUSY);

  Which will cause a 'Device busy' error inside reiserfs_mountfs() if
the same file system is re-mounted again after umount or mounting failure:

	(case 1, /dev/ad4s3 is not a valid REISERFS partition)
	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
	mount: /dev/ad4s3: Invalid argument
	# mount -t msdosfs -o ro /dev/ad4s3 /mnt
	mount: /dev/ad4s3: Device busy

	(case 2, /dev/ad4s3 is a valid REISERFS partition)
	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
	# umount /mnt
	# mount -t reiserfs -o ro /dev/ad4s3 /mnt
	mount: /dev/ad4s3: Device busy

  On the other hand, g_vfs_close() 'fixed' the above cases by doing an
extra step to keep 'sc-&gt;sc_bo-&gt;bo_private' and 'cp-&gt;private' pointers
synchronised.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>MFC r233575:</title>
<updated>2012-04-30T15:46:41Z</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>dumbbell@FreeBSD.org</email>
</author>
<published>2012-04-30T15:46:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f8979b3ee27c64b4e57522efa33d2abdae489ffb'/>
<id>urn:sha1:f8979b3ee27c64b4e57522efa33d2abdae489ffb</id>
<content type='text'>
Make ReiserFS MPSAFE

Most functions seemed to be already fine w.r.t. what's done in msdosfs.
</content>
</entry>
<entry>
<title>MFC r230249:</title>
<updated>2012-01-29T08:03:45Z</updated>
<author>
<name>Kirk McKusick</name>
<email>mckusick@FreeBSD.org</email>
</author>
<published>2012-01-29T08:03:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2ab99e703f6afb84694fcb0b7aa495b57d33e10b'/>
<id>urn:sha1:2ab99e703f6afb84694fcb0b7aa495b57d33e10b</id>
<content type='text'>
Make sure all intermediate variables holding mount flags (mnt_flag)
and that all internal kernel calls passing mount flags are declared
as uint64_t so that flags in the top 32-bits are not lost.

MFC r230250:

There are several bugs/hangs when trying to take a snapshot on a UFS/FFS
filesystem running with journaled soft updates. Until these problems
have been tracked down, return ENOTSUPP when an attempt is made to
take a snapshot on a filesystem running with journaled soft updates.
</content>
</entry>
<entry>
<title>Second-to-last commit implementing Capsicum capabilities in the FreeBSD</title>
<updated>2011-08-11T12:30:23Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2011-08-11T12:30:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9d2f8d84f69e98100b5746816b35666bcf992ac'/>
<id>urn:sha1:a9d2f8d84f69e98100b5746816b35666bcf992ac</id>
<content type='text'>
kernel for FreeBSD 9.0:

Add a new capability mask argument to fget(9) and friends, allowing system
call code to declare what capabilities are required when an integer file
descriptor is converted into an in-kernel struct file *.  With options
CAPABILITIES compiled into the kernel, this enforces capability
protection; without, this change is effectively a no-op.

Some cases require special handling, such as mmap(2), which must preserve
information about the maximum rights at the time of mapping in the memory
map so that they can later be enforced in mprotect(2) -- this is done by
narrowing the rights in the existing max_protection field used for similar
purposes with file permissions.

In namei(9), we assert that the code is not reached from within capability
mode, as we're not yet ready to enforce namespace capabilities there.
This will follow in a later commit.

Update two capability names: CAP_EVENT and CAP_KEVENT become
CAP_POST_KEVENT and CAP_POLL_KEVENT to more accurately indicate what they
represent.

Approved by:	re (bz)
Submitted by:	jonathan
Sponsored by:	Google Inc
</content>
</entry>
<entry>
<title>Fix typo in unused function name</title>
<updated>2011-05-22T09:58:48Z</updated>
<author>
<name>Ulrich Spörlein</name>
<email>uqs@FreeBSD.org</email>
</author>
<published>2011-05-22T09:58:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1cb2359e6f548192974d9d12c0ebc4c2d1354597'/>
<id>urn:sha1:1cb2359e6f548192974d9d12c0ebc4c2d1354597</id>
<content type='text'>
Submitted by:	arundel
</content>
</entry>
<entry>
<title>Add a lock flags argument to the VFS_FHTOVP() file system</title>
<updated>2011-05-22T01:07:54Z</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2011-05-22T01:07:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=694a586a43ad15e65a6fe278af031e4ec18a3524'/>
<id>urn:sha1:694a586a43ad15e65a6fe278af031e4ec18a3524</id>
<content type='text'>
method, so that callers can indicate the minimum vnode
locking requirement. This will allow some file systems to choose
to return a LK_SHARED locked vnode when LK_SHARED is specified
for the flags argument. This patch only adds the flag. It
does not change any file system to use it and all callers
specify LK_EXCLUSIVE, so file system semantics are not changed.

Reviewed by:	kib
</content>
</entry>
<entry>
<title>Fix typos - remove duplicate "the".</title>
<updated>2011-02-21T09:01:34Z</updated>
<author>
<name>Rebecca Cran</name>
<email>brucec@FreeBSD.org</email>
</author>
<published>2011-02-21T09:01:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=6bccea7c2bb77cbcbe9f019c664ddf4bf4ff8410'/>
<id>urn:sha1:6bccea7c2bb77cbcbe9f019c664ddf4bf4ff8410</id>
<content type='text'>
PR:	bin/154928
Submitted by:	Eitan Adler &lt;lists at eitanadler.com&gt;
MFC after: 	3 days
</content>
</entry>
</feed>
