aboutsummaryrefslogtreecommitdiffstats
path: root/fs/libfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/libfs.c')
-rw-r--r--fs/libfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/libfs.c b/fs/libfs.c
index ac02ea602c3d..2751793beeaa 100644
--- a/fs/libfs.c
+++ b/fs/libfs.c
@@ -547,7 +547,7 @@ int simple_attr_open(struct inode *inode, struct file *file,
547 547
548 attr->get = get; 548 attr->get = get;
549 attr->set = set; 549 attr->set = set;
550 attr->data = inode->u.generic_ip; 550 attr->data = inode->i_private;
551 attr->fmt = fmt; 551 attr->fmt = fmt;
552 mutex_init(&attr->mutex); 552 mutex_init(&attr->mutex);
553 553