]> git.baikalelectronics.ru Git - kernel.git/commit
debugfs: add get/set for atomic types
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Mon, 3 Jun 2013 20:33:02 +0000 (15:33 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 20:55:01 +0000 (13:55 -0700)
commit3c4184b64bd50c67e1a9c58f1f6da3f8d34d9dd3
treeb08061613e352317bc3189abff31609279c0f2fa
parentdf1b661c85b852589fff83433629d9b5f25dbc06
debugfs: add get/set for atomic types

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 <sjenning@linux.vnet.ibm.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Mel Gorman <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/debugfs/file.c
include/linux/debugfs.h
lib/fault-inject.c