]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/debugfs/inode.c
[PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private
[linux-2.6-omap-h63xx.git] / fs / debugfs / inode.c
index 3ca268d2e5a228c40bf647fe21059cfb7a1506a0..717f4821ed029f84422d9f1306a7bb4f9ff8d5d4 100644 (file)
@@ -168,7 +168,7 @@ static int debugfs_create_by_name(const char *name, mode_t mode,
  *          directory dentry if set.  If this paramater is NULL, then the
  *          file will be created in the root of the debugfs filesystem.
  * @data: a pointer to something that the caller will want to get to later
- *        on.  The inode.u.generic_ip pointer will point to this value on
+ *        on.  The inode.i_private pointer will point to this value on
  *        the open() call.
  * @fops: a pointer to a struct file_operations that should be used for
  *        this file.
@@ -209,7 +209,7 @@ struct dentry *debugfs_create_file(const char *name, mode_t mode,
 
        if (dentry->d_inode) {
                if (data)
-                       dentry->d_inode->u.generic_ip = data;
+                       dentry->d_inode->i_private = data;
                if (fops)
                        dentry->d_inode->i_fop = fops;
        }