lkml.org 
[lkml]   [2003]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.079 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site