aboutsummaryrefslogtreecommitdiff
path: root/fs/squashfs/squashfs_fs_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/squashfs/squashfs_fs_i.h')
-rw-r--r--fs/squashfs/squashfs_fs_i.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/squashfs/squashfs_fs_i.h b/fs/squashfs/squashfs_fs_i.h
index d3e3a37f28a..359baefc01f 100644
--- a/fs/squashfs/squashfs_fs_i.h
+++ b/fs/squashfs/squashfs_fs_i.h
@@ -45,4 +45,10 @@ struct squashfs_inode_info {
};
struct inode vfs_inode;
};
+
+
+static inline struct squashfs_inode_info *squashfs_i(struct inode *inode)
+{
+ return list_entry(inode, struct squashfs_inode_info, vfs_inode);
+}
#endif