diff options
Diffstat (limited to 'fs/configfs/inode.c')
-rw-r--r-- | fs/configfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/configfs/inode.c b/fs/configfs/inode.c index 03d124ae27d7..0387968e6f47 100644 --- a/fs/configfs/inode.c +++ b/fs/configfs/inode.c | |||
@@ -156,7 +156,7 @@ static void configfs_set_inode_lock_class(struct configfs_dirent *sd, | |||
156 | 156 | ||
157 | if (depth > 0) { | 157 | if (depth > 0) { |
158 | if (depth <= ARRAY_SIZE(default_group_class)) { | 158 | if (depth <= ARRAY_SIZE(default_group_class)) { |
159 | lockdep_set_class(&inode->i_mutex, | 159 | lockdep_set_class(&inode->i_rwsem, |
160 | &default_group_class[depth - 1]); | 160 | &default_group_class[depth - 1]); |
161 | } else { | 161 | } else { |
162 | /* | 162 | /* |