diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-23 23:11:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:55 -0500 |
commit | 587a1f1659e8b330b8738ef4901832a2b63f0bed (patch) | |
tree | b785c3f44ddba6ee036e02268502cdc961f55ea0 /include/linux/iscsi_boot_sysfs.h | |
parent | 9104e427f3e21ddb380ddc39752624365b5bffea (diff) |
switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/iscsi_boot_sysfs.h')
-rw-r--r-- | include/linux/iscsi_boot_sysfs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/iscsi_boot_sysfs.h b/include/linux/iscsi_boot_sysfs.h index f0a2f8b0aa13..2a8b1659bf35 100644 --- a/include/linux/iscsi_boot_sysfs.h +++ b/include/linux/iscsi_boot_sysfs.h | |||
@@ -91,7 +91,7 @@ struct iscsi_boot_kobj { | |||
91 | * The enum of the type. This can be any value of the above | 91 | * The enum of the type. This can be any value of the above |
92 | * properties. | 92 | * properties. |
93 | */ | 93 | */ |
94 | mode_t (*is_visible) (void *data, int type); | 94 | umode_t (*is_visible) (void *data, int type); |
95 | 95 | ||
96 | /* | 96 | /* |
97 | * Driver specific release function. | 97 | * Driver specific release function. |
@@ -110,20 +110,20 @@ struct iscsi_boot_kobj * | |||
110 | iscsi_boot_create_initiator(struct iscsi_boot_kset *boot_kset, int index, | 110 | iscsi_boot_create_initiator(struct iscsi_boot_kset *boot_kset, int index, |
111 | void *data, | 111 | void *data, |
112 | ssize_t (*show) (void *data, int type, char *buf), | 112 | ssize_t (*show) (void *data, int type, char *buf), |
113 | mode_t (*is_visible) (void *data, int type), | 113 | umode_t (*is_visible) (void *data, int type), |
114 | void (*release) (void *data)); | 114 | void (*release) (void *data)); |
115 | 115 | ||
116 | struct iscsi_boot_kobj * | 116 | struct iscsi_boot_kobj * |
117 | iscsi_boot_create_ethernet(struct iscsi_boot_kset *boot_kset, int index, | 117 | iscsi_boot_create_ethernet(struct iscsi_boot_kset *boot_kset, int index, |
118 | void *data, | 118 | void *data, |
119 | ssize_t (*show) (void *data, int type, char *buf), | 119 | ssize_t (*show) (void *data, int type, char *buf), |
120 | mode_t (*is_visible) (void *data, int type), | 120 | umode_t (*is_visible) (void *data, int type), |
121 | void (*release) (void *data)); | 121 | void (*release) (void *data)); |
122 | struct iscsi_boot_kobj * | 122 | struct iscsi_boot_kobj * |
123 | iscsi_boot_create_target(struct iscsi_boot_kset *boot_kset, int index, | 123 | iscsi_boot_create_target(struct iscsi_boot_kset *boot_kset, int index, |
124 | void *data, | 124 | void *data, |
125 | ssize_t (*show) (void *data, int type, char *buf), | 125 | ssize_t (*show) (void *data, int type, char *buf), |
126 | mode_t (*is_visible) (void *data, int type), | 126 | umode_t (*is_visible) (void *data, int type), |
127 | void (*release) (void *data)); | 127 | void (*release) (void *data)); |
128 | 128 | ||
129 | struct iscsi_boot_kset *iscsi_boot_create_kset(const char *set_name); | 129 | struct iscsi_boot_kset *iscsi_boot_create_kset(const char *set_name); |