summaryrefslogtreecommitdiff
path: root/fs/squashfs/squashfs.h
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@lougher.demon.co.uk>2011-01-06 09:08:50 +0300
committerPhillip Lougher <phillip@lougher.demon.co.uk>2011-01-14 00:24:15 +0300
commit8fcd97216f45b1691f8f91f35cc108d06e0bfca8 (patch)
treef22ddb09a78512768e6e4f766e8b61721175aee5 /fs/squashfs/squashfs.h
parent6197fd86789a28760f8375b5ae8885cd7258042f (diff)
downloadlinux-8fcd97216f45b1691f8f91f35cc108d06e0bfca8.tar.xz
Squashfs: move squashfs_i() definition from squashfs.h
Move squashfs_i() definition out of squashfs.h, this eliminates the need to #include squashfs_fs_i.h from numerous files. Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
Diffstat (limited to 'fs/squashfs/squashfs.h')
-rw-r--r--fs/squashfs/squashfs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/squashfs/squashfs.h b/fs/squashfs/squashfs.h
index 5d45569d5f72..18f187fb486b 100644
--- a/fs/squashfs/squashfs.h
+++ b/fs/squashfs/squashfs.h
@@ -27,11 +27,6 @@
#define WARNING(s, args...) pr_warning("SQUASHFS: "s, ## args)
-static inline struct squashfs_inode_info *squashfs_i(struct inode *inode)
-{
- return list_entry(inode, struct squashfs_inode_info, vfs_inode);
-}
-
/* block.c */
extern int squashfs_read_data(struct super_block *, void **, u64, int, u64 *,
int, int);