Re: [PATCHv10 1/4] debugfs: add get/set for atomic types

2013-05-17 Thread Dave Hansen
On 05/08/2013 03:37 PM, Seth Jennings wrote: > +struct dentry *debugfs_create_atomic_t(const char *name, umode_t mode, > + struct dentry *parent, atomic_t *value) > +{ lib/fault_inject.c has something that looks pretty similar: static struct dentry

Re: [PATCHv10 1/4] debugfs: add get/set for atomic types

2013-05-17 Thread Dave Hansen
On 05/08/2013 03:37 PM, Seth Jennings wrote: +struct dentry *debugfs_create_atomic_t(const char *name, umode_t mode, + struct dentry *parent, atomic_t *value) +{ lib/fault_inject.c has something that looks pretty similar: static struct dentry

Re: [PATCHv10 1/4] debugfs: add get/set for atomic types

2013-05-09 Thread Seth Jennings
On Thu, May 09, 2013 at 11:58:49AM -0700, Greg Thelen wrote: > On Wed, May 08 2013, Seth Jennings wrote: > > > debugfs currently lack 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: [PATCHv10 1/4] debugfs: add get/set for atomic types

2013-05-09 Thread Greg Thelen
On Wed, May 08 2013, Seth Jennings wrote: > debugfs currently lack 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 > Acked-by: Greg Kroah-Hartman >

Re: [PATCHv10 1/4] debugfs: add get/set for atomic types

2013-05-09 Thread Greg Thelen
On Wed, May 08 2013, Seth Jennings wrote: debugfs currently lack 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 sjenn...@linux.vnet.ibm.com Acked-by: Greg

Re: [PATCHv10 1/4] debugfs: add get/set for atomic types

2013-05-09 Thread Seth Jennings
On Thu, May 09, 2013 at 11:58:49AM -0700, Greg Thelen wrote: On Wed, May 08 2013, Seth Jennings wrote: debugfs currently lack 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.

[PATCHv10 1/4] debugfs: add get/set for atomic types

2013-05-08 Thread Seth Jennings
debugfs currently lack 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 Acked-by: Greg Kroah-Hartman Acked-by: Mel Gorman --- fs/debugfs/file.c | 42

[PATCHv10 1/4] debugfs: add get/set for atomic types

2013-05-08 Thread Seth Jennings
debugfs currently lack 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 sjenn...@linux.vnet.ibm.com Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org Acked-by: Mel