This patch removes a little unnecessary code -- since pipes can't be
hashed, we don't need to mark them dirty.
Regards,
Bill
--------------0D75AA0760BA8AFEADD10E60
Content-Type: text/plain; charset=us-ascii; name="pipe_55-patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="pipe_55-patch"
--- fs/pipe.c.old Wed Sep 10 09:21:27 1997
+++ fs/pipe.c Thu Sep 11 08:49:38 1997
@@ -396,13 +396,6 @@
PIPE_RD_OPENERS(*inode) = PIPE_WR_OPENERS(*inode) = 0;
PIPE_READERS(*inode) = PIPE_WRITERS(*inode) = 1;
PIPE_LOCK(*inode) = 0;
- /*
- * Mark the inode dirty from the very beginning,
- * that way it will never be moved to the dirty
- * list because "mark_inode_dirty()" will think
- * that it already _is_ on the dirty list.
- */
- inode->i_state = I_DIRTY;
inode->i_mode = S_IFIFO | S_IRUSR | S_IWUSR;
inode->i_uid = current->fsuid;
inode->i_gid = current->fsgid;
--------------0D75AA0760BA8AFEADD10E60--