Re: [PATCH 7/7] sysfs: make sysfs_addrm_finish() return void

From: Cornelia Huck
Date: Tue Jul 31 2007 - 09:33:34 EST


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

> With the previous sysfs_add_one() update, there is only one user of
> the return value of sysfs_addrm_finish() and the user can switch to
> testing @sd easily. Make sysfs_addrm_finish() return void for cleaner
> semantics as suggested by Satyam Sharma.
>
> This patch doesn't introduce any noticeable behavior change.
>
> Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
> Cc: Satyam Sharma <satyam.sharma@xxxxxxxxx>
> ---
> fs/sysfs/dir.c | 7 +------
> fs/sysfs/inode.c | 7 +++++--
> fs/sysfs/sysfs.h | 2 +-
> 3 files changed, 7 insertions(+), 9 deletions(-)
>
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/