Re: [PATCH] configfs: Convert subsystem semaphore to mutex

From: Satyam Sharma
Date: Sat Jul 07 2007 - 03:38:38 EST


Hi Joel,

On Fri, 6 Jul 2007, Joel Becker wrote:
> [Rewritten so that it applies to mainline and names the filed su_mutex.
> This will appear in my tree.]

The one I'd sent was diffed against -mm, which includes gfs2-2.6-fixes.git
but apparently Linus' tree (I just checked -rc7, at least) doesn't seem
to have merged in gfs2-2.6-fixes.git as yet. There are references to
down() / up() / su_sem / config_group_find_obj() in there (which was why
I had diffed against -mm to cover all the uses of these), so those will
have to be updated accordingly as well now ...

> Convert the su_sem member of struct configfs_subsystem to a struct
> mutex, as that's what it is. Also convert all the users and update
> Documentation/configfs.txt and Documentation/configfs_example.c
> accordingly.
>
> Inspired-by: Satyam Sharma <ssatyam@xxxxxxxxxxxxxx>
> Signed-off-by: Joel Becker <joel.becker@xxxxxxxxxx>

With that caveat, Acked-by: Satyam Sharma <ssatyam@xxxxxxxxxxxxxx>

Satyam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/