OSDN Git Service

[SCSI] zfcp: remove access control tables interface (keep sysfs files)
authorMartin Peschke <mpeschke@linux.vnet.ibm.com>
Thu, 22 Aug 2013 15:45:38 +0000 (17:45 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 22 Aug 2013 16:26:51 +0000 (09:26 -0700)
commitb5dc3c4800cc5c2c0b3c93a97eb4c7afa0aae49a
tree718fe44b9e69e5de3229ec021823d78be6c0a890
parent924dd584b198a58aa7cb3efefd8a03326550ce8f
[SCSI] zfcp: remove access control tables interface (keep sysfs files)

By popular demand, this patch brings back a couple of sysfs attributes
removed by commit 663e0890e31cb85f0cca5ac1faaee0d2d52880b5
"[SCSI] zfcp: remove access control tables interface".
The content has been irrelevant for years, but the files must be
there forever for whatever user space tools that may rely on them.

Since these files always return a constant value, a new stripped
down show-macro was required. Otherwise build warnings would have
been introduced.

Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/s390/scsi/zfcp_sysfs.c