Re: [PATCH 1/7] sysfs: fix locking in sysfs_lookup() andsysfs_rename_dir()

From: Cornelia Huck
Date: Tue Jul 31 2007 - 08:56:40 EST


On Tue, 31 Jul 2007 19:15:08 +0900,
Tejun Heo <htejun@xxxxxxxxx> wrote:

> sd children list walking in sysfs_lookup() and sd renaming in
> sysfs_rename_dir() were left out during i_mutex -> sysfs_mutex
> conversion. Fix them.
>
> Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
> ---
> fs/sysfs/dir.c | 21 ++++++++++++---------
> 1 files changed, 12 insertions(+), 9 deletions(-)

Looks sane.

Acked-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
-
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/