Messages in this thread |  | | Date | Fri, 30 May 2003 15:58:20 +0100 | From | Christoph Hellwig <> | Subject | Re: 2.4 bug: fifo-write causes diskwrites to read-only fs ! |
| |
On Fri, May 30, 2003 at 02:21:12PM +0100, Stephen C. Tweedie wrote: > +void update_mctime (struct inode *inode) > +{ > + if (inode->i_mtime == CURRENT_TIME && inode->i_ctime == CURRENT_TIME) > + return; > + if ( IS_RDONLY (inode) ) return; > + inode->i_ctime = inode->i_mtime = CURRENT_TIME; > + mark_inode_dirty (inode); > +} /* End Function update_mctime */ > +
Yikes, this looks like devfs code! Please try to use proper kernel style..
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |