Message ID | 1534475441-15543-7-git-send-email-jsimmons@infradead.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | lustre: fixes for sysfs handling | expand |
On Thu, Aug 16 2018, James Simmons wrote: > Since we are freeing a kobject rename llite_sb_release() to > llite_kobj_release(). Thank you! You told me *why*. Easy to review! :-) NeilBrown
diff --git a/drivers/staging/lustre/lustre/llite/lproc_llite.c b/drivers/staging/lustre/lustre/llite/lproc_llite.c index 8af6636..90140b0 100644 --- a/drivers/staging/lustre/lustre/llite/lproc_llite.c +++ b/drivers/staging/lustre/lustre/llite/lproc_llite.c @@ -1128,7 +1128,7 @@ static ssize_t ll_nosquash_nids_seq_write(struct file *file, NULL, }; -static void llite_sb_release(struct kobject *kobj) +static void llite_kobj_release(struct kobject *kobj) { struct ll_sb_info *sbi = container_of(kobj, struct ll_sb_info, ll_kset.kobj); @@ -1138,7 +1138,7 @@ static void llite_sb_release(struct kobject *kobj) static struct kobj_type llite_ktype = { .default_attrs = llite_attrs, .sysfs_ops = &lustre_sysfs_ops, - .release = llite_sb_release, + .release = llite_kobj_release, }; static const struct llite_file_opcode {