Merge commit 'refs/top-bases/linux-docs' into linux-docs
This commit is contained in:
commit
c7821020e8
|
@ -1176,7 +1176,7 @@ grow_vdev(vdev_t *vd, void *arg)
|
||||||
return (vd);
|
return (vd);
|
||||||
|
|
||||||
fsize = lseek(fd, 0, SEEK_END);
|
fsize = lseek(fd, 0, SEEK_END);
|
||||||
(void) ftruncate(fd, *newsize);
|
VERIFY(ftruncate(fd, *newsize) == 0);
|
||||||
|
|
||||||
if (zopt_verbose >= 6) {
|
if (zopt_verbose >= 6) {
|
||||||
(void) printf("%s grew from %lu to %lu bytes\n",
|
(void) printf("%s grew from %lu to %lu bytes\n",
|
||||||
|
|
|
@ -3,9 +3,17 @@
|
||||||
# require_kver, require_kdir, require_obj constants for us, but if it does not
|
# require_kver, require_kdir, require_obj constants for us, but if it does not
|
||||||
# not we attempt to determine the correct values based on your distro.
|
# not we attempt to determine the correct values based on your distro.
|
||||||
|
|
||||||
%{?require_kver: %define kver %{require_kver}}
|
%if %{defined require_kver}
|
||||||
%{?require_kdir: %define kdir %{require_kdir}}
|
%define kver %{require_kver}
|
||||||
%{?require_kobj: %define kobj %{require_kobj}}
|
%endif
|
||||||
|
|
||||||
|
%if %{defined require_kdir}
|
||||||
|
%define kdir %{require_kdir}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{defined require_kobj}
|
||||||
|
%define kobj %{require_kobj}
|
||||||
|
%endif
|
||||||
|
|
||||||
# kdir: Full path to the kernel source headers
|
# kdir: Full path to the kernel source headers
|
||||||
# kobj: Full path to the kernel build objects
|
# kobj: Full path to the kernel build objects
|
||||||
|
@ -14,9 +22,17 @@
|
||||||
# kdevpkg: Kernel devel package name
|
# kdevpkg: Kernel devel package name
|
||||||
# kverpkg: Kernel package version
|
# kverpkg: Kernel package version
|
||||||
|
|
||||||
%{?require_splver: %define splver %{require_splver}}
|
%if %{defined require_splver}
|
||||||
%{?require_spldir: %define spldir %{require_spldir}}
|
%define splver %{require_splver}
|
||||||
%{?require_splobj: %define splobj %{require_splobj}}
|
%endif
|
||||||
|
|
||||||
|
%if %{defined require_spldir}
|
||||||
|
%define spldir %{require_spldir}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{defined require_splobj}
|
||||||
|
%define splobj %{require_splobj}
|
||||||
|
%endif
|
||||||
|
|
||||||
# spldir: Full path to the spl source headers
|
# spldir: Full path to the spl source headers
|
||||||
# splobj: Full path to the spl build objects
|
# splobj: Full path to the spl build objects
|
||||||
|
|
Loading…
Reference in New Issue