[PATCH] configfs+dlm: Separate out __CONFIGFS_ATTR into configfs.h
commit9b1d9aa4e9c5cafe73b9df21d758b50b5d75264d
authorSatyam Sharma <ssatyam@cse.iitk.ac.in>
Wed, 4 Jul 2007 11:07:06 +0000 (4 16:37 +0530)
committerMark Fasheh <mark.fasheh@oracle.com>
Tue, 10 Jul 2007 23:52:27 +0000 (10 16:52 -0700)
treefdb043638b15b429fb3b04be8d56667c3d9963be
parent4c62b53454a83178676e5ecae6665447d363c7b4
[PATCH] configfs+dlm: Separate out __CONFIGFS_ATTR into configfs.h

fs/dlm/config.c contains a useful generic macro called __CONFIGFS_ATTR
that is similar to sysfs' __ATTR macro that makes defining attributes
easy for any user of configfs. Separate it out into configfs.h so that
other users (forthcoming in dynamic netconsole patchset) can use it too.

Signed-off-by: Satyam Sharma <ssatyam@cse.iitk.ac.in>
Cc: David Teigland <teigland@redhat.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/dlm/config.c
include/linux/configfs.h