diff options
Diffstat (limited to 'fs/sysfs/file.c')
-rw-r--r-- | fs/sysfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index fd104b282f81..fe6388fbd154 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c | |||
@@ -29,7 +29,7 @@ static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) | |||
29 | { | 29 | { |
30 | struct kobject *kobj = kn->parent->priv; | 30 | struct kobject *kobj = kn->parent->priv; |
31 | 31 | ||
32 | if (kn->flags & SYSFS_FLAG_LOCKDEP) | 32 | if (kn->flags & KERNFS_LOCKDEP) |
33 | lockdep_assert_held(kn); | 33 | lockdep_assert_held(kn); |
34 | return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; | 34 | return kobj->ktype ? kobj->ktype->sysfs_ops : NULL; |
35 | } | 35 | } |