Messages in this thread Patch in this message | | | Date | Fri, 12 Sep 1997 17:26:49 -0400 | From | Bill Hawes <> | Subject | minor patch for 2.1.55 fs/pipe.c |
| |
This patch removes a little unnecessary code -- since pipes can't be hashed, we don't need to mark them dirty.
Regards, Bill--- 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; | |