svn commit: r350126 - in stable/11: share/man/man9 sys/kern
Alan Somers
asomers at FreeBSD.org
Fri Jul 19 14:24:34 UTC 2019
Author: asomers
Date: Fri Jul 19 14:24:33 2019
New Revision: 350126
URL: https://svnweb.freebsd.org/changeset/base/350126
Log:
MFC r349230, r349234, r349477
r349230:
Add a VOP_BMAP(9) man page
Reviewed by: mckusick
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20704
r349234:
VOP_BMAP(9): fix typo in the copyright header
Reported by: rgrimes
MFC-With: 349230
Sponsored by: The FreeBSD Foundation
r349477:
[skip ci] VOP_BMAP.9: fix diction in copyright header
MFC-With: r349230
Sponsored by: The FreeBSD Foundation
Added:
stable/11/share/man/man9/VOP_BMAP.9
- copied, changed from r349230, head/share/man/man9/VOP_BMAP.9
Modified:
stable/11/share/man/man9/Makefile
stable/11/sys/kern/vfs_default.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/share/man/man9/Makefile
==============================================================================
--- stable/11/share/man/man9/Makefile Fri Jul 19 14:23:23 2019 (r350125)
+++ stable/11/share/man/man9/Makefile Fri Jul 19 14:24:33 2019 (r350126)
@@ -376,6 +376,7 @@ MAN= accept_filter.9 \
VOP_ADVLOCK.9 \
VOP_ALLOCATE.9 \
VOP_ATTRIB.9 \
+ VOP_BMAP.9 \
VOP_BWRITE.9 \
VOP_CREATE.9 \
VOP_FSYNC.9 \
Copied and modified: stable/11/share/man/man9/VOP_BMAP.9 (from r349230, head/share/man/man9/VOP_BMAP.9)
==============================================================================
--- head/share/man/man9/VOP_BMAP.9 Thu Jun 20 13:59:46 2019 (r349230, copy source)
+++ stable/11/share/man/man9/VOP_BMAP.9 Fri Jul 19 14:24:33 2019 (r350126)
@@ -3,15 +3,15 @@
.\"
.\" Copyright (c) 2019 The FreeBSD Foundation
.\"
-.\" This software was developed by BFF Storage Systems, LLC under sponsorship
-.\" from the FreeBSD Foundation.
+.\" This documentation was written by BFF Storage Systems, LLC under
+.\" sponsorship from the FreeBSD Foundation.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
-.\".\"2. Redistributions in binary form must reproduce the above copyright
+.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
Modified: stable/11/sys/kern/vfs_default.c
==============================================================================
--- stable/11/sys/kern/vfs_default.c Fri Jul 19 14:23:23 2019 (r350125)
+++ stable/11/sys/kern/vfs_default.c Fri Jul 19 14:24:33 2019 (r350126)
@@ -604,7 +604,13 @@ vop_stdgetwritemount(ap)
return (0);
}
-/* XXX Needs good comment and VOP_BMAP(9) manpage */
+/*
+ * If the file system doesn't implement VOP_BMAP, then return sensible defaults:
+ * - Return the vnode's bufobj instead of any underlying device's bufobj
+ * - Calculate the physical block number as if there were equal size
+ * consecutive blocks, but
+ * - Report no contiguous runs of blocks.
+ */
int
vop_stdbmap(ap)
struct vop_bmap_args /* {
More information about the svn-src-all
mailing list