tree-wide: replace problematic terminology

parent 8de0119d
...@@ -1910,7 +1910,7 @@ __cgfsng_ops static bool cgfsng_criu_get_hierarchies(struct cgroup_ops *ops, ...@@ -1910,7 +1910,7 @@ __cgfsng_ops static bool cgfsng_criu_get_hierarchies(struct cgroup_ops *ops,
if (!ops->hierarchies) if (!ops->hierarchies)
return ret_set_errno(false, ENOENT); return ret_set_errno(false, ENOENT);
/* sanity check n */ /* consistency check n */
for (i = 0; i < n; i++) for (i = 0; i < n; i++)
if (!ops->hierarchies[i]) if (!ops->hierarchies[i])
return ret_set_errno(false, ENOENT); return ret_set_errno(false, ENOENT);
......
...@@ -95,7 +95,7 @@ int lxc_ringbuf_write(struct lxc_ringbuf *buf, const char *msg, size_t len) ...@@ -95,7 +95,7 @@ int lxc_ringbuf_write(struct lxc_ringbuf *buf, const char *msg, size_t len)
char *w_addr; char *w_addr;
uint64_t free; uint64_t free;
/* sanity check: a write should never exceed the ringbuffer's total size */ /* consistency check: a write should never exceed the ringbuffer's total size */
if (len > buf->size) if (len > buf->size)
return -EFBIG; return -EFBIG;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment