]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r261084:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 30 Jan 2014 10:53:29 +0000 (10:53 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 30 Jan 2014 10:53:29 +0000 (10:53 +0000)
commit31cdb11020d3159451f07fd51605e633be26c18e
tree3d145ff2cc2b71ee5c99396799a8d8b1b66b0860
parent76300a7313aeca2054343d9ee6164f4eae5e4b4d
MFC r261084:
  malloc() with M_WAITOK doesn't return NULL.

MFC r261085:
  Fix typo in r261084.
  Add to the gctl_error() an ability to specify error description even
  if numeric error code is already specified. Also by default set
  error code to EINVAL.

  PR: 185852

MFC r261086:
  In gctl_copyin() remove unused error variable.
  geom_alloc_copyin() can't return ENOMEM, so describe its fail as bad
  control request. Add check for NULL pointer in gctl_dump(), since it
  can be NULL when geom_alloc_copyin() failed.

MFC r261089:
  Remove another unneeded NULL check from geom_alloc_copyin().
  Do copyout in case of gctl version mismatch and fix sbuf leak in
  g_ctl_ioctl_ctl().

MFC r261091:
  Always free sbuf in gctl_free().

git-svn-id: svn://svn.freebsd.org/base/stable/10@261285 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/geom_ctl.c