Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c154168 authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Linus Torvalds
Browse files

[PATCH] inode-diet: Move i_pipe into a union



Move the i_pipe pointer into a union that will be shared with i_bdev and
i_cdev.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8e18e294
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -528,9 +528,10 @@ struct inode {
#ifdef CONFIG_QUOTA
	struct dquot		*i_dquot[MAXQUOTAS];
#endif
	/* These three should probably be a union */
	struct list_head	i_devices;
	union {
		struct pipe_inode_info	*i_pipe;
	};
	struct block_device	*i_bdev;
	struct cdev		*i_cdev;
	int			i_cindex;