patch-2.1.45 linux/include/linux/pipe_fs_i.h

Next file: linux/include/linux/proc_fs.h
Previous file: linux/include/linux/omirr.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/include/linux/pipe_fs_i.h linux/include/linux/pipe_fs_i.h
@@ -5,7 +5,6 @@
 	struct wait_queue * wait;
 	char * base;
 	unsigned int start;
-	unsigned int len;
 	unsigned int lock;
 	unsigned int rd_openers;
 	unsigned int wr_openers;
@@ -16,7 +15,7 @@
 #define PIPE_WAIT(inode)	((inode).u.pipe_i.wait)
 #define PIPE_BASE(inode)	((inode).u.pipe_i.base)
 #define PIPE_START(inode)	((inode).u.pipe_i.start)
-#define PIPE_LEN(inode)		((inode).u.pipe_i.len)
+#define PIPE_LEN(inode)		((inode).i_size)
 #define PIPE_RD_OPENERS(inode)	((inode).u.pipe_i.rd_openers)
 #define PIPE_WR_OPENERS(inode)	((inode).u.pipe_i.wr_openers)
 #define PIPE_READERS(inode)	((inode).u.pipe_i.readers)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov