2007-11-19 19:18:01

by Tim Pepper

[permalink] [raw]
Subject: [PATCH] radix_tree.h trivial comment correction

There is an unmatched parenthesis in the locking commentary of radix_tree.h
which is trivially fixed by the patch below.

Signed-off-by: Tim Pepper <[email protected]>
Cc: Nick Piggin <[email protected]>

---

diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
--- a/include/linux/radix-tree.h
+++ b/include/linux/radix-tree.h
@@ -91,7 +91,7 @@ do { \
*
* For API usage, in general,
* - any function _modifying_ the tree or tags (inserting or deleting
- * items, setting or clearing tags must exclude other modifications, and
+ * items, setting or clearing tags) must exclude other modifications, and
* exclude any functions reading the tree.
* - any function _reading_ the tree or tags (looking up items or tags,
* gang lookups) must exclude modifications to the tree, but may occur


2007-11-20 03:42:18

by Nick Piggin

[permalink] [raw]
Subject: Re: [PATCH] radix_tree.h trivial comment correction

On Mon, Nov 19, 2007 at 11:17:48AM -0800, Tim Pepper wrote:
> There is an unmatched parenthesis in the locking commentary of radix_tree.h
> which is trivially fixed by the patch below.
>
> Signed-off-by: Tim Pepper <[email protected]>
> Cc: Nick Piggin <[email protected]>

Acked-by: Nick Piggin <[email protected]>

>
> ---
>
> diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree.h
> --- a/include/linux/radix-tree.h
> +++ b/include/linux/radix-tree.h
> @@ -91,7 +91,7 @@ do { \
> *
> * For API usage, in general,
> * - any function _modifying_ the tree or tags (inserting or deleting
> - * items, setting or clearing tags must exclude other modifications, and
> + * items, setting or clearing tags) must exclude other modifications, and
> * exclude any functions reading the tree.
> * - any function _reading_ the tree or tags (looking up items or tags,
> * gang lookups) must exclude modifications to the tree, but may occur