[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <487D2F01.5000404@suse.de>
Date: Wed, 16 Jul 2008 08:13:05 +0900
From: Tejun Heo <teheo@...e.de>
To: Neil Brown <neilb@...e.de>
Cc: Greg K-H <gregkh@...e.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH/RFC] sysfs: Support sysfs_notify from atomic context with
new sysfs_notify_dirent
Hello,
Neil Brown wrote:
> +#undef sysfs_get
> +struct sysfs_dirent *sysfs_get(struct sysfs_dirent *sd)
> +{
> + return __sysfs_get(sd);
> +}
> +EXPORT_SYMBOL_GPL(sysfs_get);
> +
> +#undef sysfs_put
> +void sysfs_put(struct sysfs_dirent *sd)
> +{
> + __sysfs_put(sd);
> +}
> +EXPORT_SYMBOL_GPL(sysfs_put);
I don't think this inline technique is really necessary. Please just
drop the inline versions. Other than that,
Acked-by: Tejun Heo <tj@...nel.org>
BTW, things like this strongly suggest that we really should switch to
sd-based interface instead of combination of kobj and optional name string.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists