Skip to content

Commit 264800b

Browse files
committed
Merge tag 'configfs-for-linus-2' of git://git.infradead.org/users/hch/configfs
Pull configfs fix from Christoph Hellwig: "A trivial fix to the recently introduced binary attribute helper macros" * tag 'configfs-for-linus-2' of git://git.infradead.org/users/hch/configfs: configfs: fix CONFIGFS_BIN_ATTR_[RW]O definitions
2 parents 05cf807 + 96c22a3 commit 264800b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/configfs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static struct configfs_bin_attribute _pfx##attr_##_name = { \
188188
}
189189

190190
#define CONFIGFS_BIN_ATTR_RO(_pfx, _name, _priv, _maxsz) \
191-
static struct configfs_attribute _pfx##attr_##_name = { \
191+
static struct configfs_bin_attribute _pfx##attr_##_name = { \
192192
.cb_attr = { \
193193
.ca_name = __stringify(_name), \
194194
.ca_mode = S_IRUGO, \
@@ -200,7 +200,7 @@ static struct configfs_attribute _pfx##attr_##_name = { \
200200
}
201201

202202
#define CONFIGFS_BIN_ATTR_WO(_pfx, _name, _priv, _maxsz) \
203-
static struct configfs_attribute _pfx##attr_##_name = { \
203+
static struct configfs_bin_attribute _pfx##attr_##_name = { \
204204
.cb_attr = { \
205205
.ca_name = __stringify(_name), \
206206
.ca_mode = S_IWUSR, \

0 commit comments

Comments
 (0)