Re: [PATCH] debugfs: add get/set for atomic types

2012-10-26 Thread Greg Kroah-Hartman
On Fri, Oct 26, 2012 at 01:46:38PM -0500, Seth Jennings wrote: > On 10/26/2012 11:13 AM, Greg Kroah-Hartman wrote: > > On Fri, Oct 26, 2012 at 10:49:01AM -0500, Seth Jennings wrote: > >> debugfs currently lacks the ability to create attributes > >> that set/get atomic_t values. > >> > >> This patch

Re: [PATCH] debugfs: add get/set for atomic types

2012-10-26 Thread Seth Jennings
On 10/26/2012 11:13 AM, Greg Kroah-Hartman wrote: > On Fri, Oct 26, 2012 at 10:49:01AM -0500, Seth Jennings wrote: >> debugfs currently lacks the ability to create attributes >> that set/get atomic_t values. >> >> This patch adds support for this through a new >> debugfs_create_atomic_t() function.

Re: [PATCH] debugfs: add get/set for atomic types

2012-10-26 Thread Greg Kroah-Hartman
On Fri, Oct 26, 2012 at 10:49:01AM -0500, Seth Jennings wrote: > debugfs currently lacks the ability to create attributes > that set/get atomic_t values. > > This patch adds support for this through a new > debugfs_create_atomic_t() function. Why would you want to set an atomic variable type from

[PATCH] debugfs: add get/set for atomic types

2012-10-26 Thread Seth Jennings
debugfs currently lacks the ability to create attributes that set/get atomic_t values. This patch adds support for this through a new debugfs_create_atomic_t() function. Signed-off-by: Seth Jennings --- fs/debugfs/file.c | 42 ++ include/linux/deb