Displaying 1 result from an estimated 1 matches for "ext3_journal_".
2003 Mar 20
2
[Patch] ext3_journal_stop inode access
Hi Andrew,
The patch below addresses the problem we were talking about earlier
where ext3_writepage ends up accessing the inode after the page lock has
been dropped (and hence at a point where it is possible for the inode to
have been reclaimed.) Tested minimally (it builds and boots.)
It makes ext3_journal_stop take an sb, not an inode, as its final
parameter. It also sets sb->s_need_sync_fs, not sb->s_dirt, as setting
s_dirt was only ever a workaround for the lack of a proper sync-fs
mechanism.
Btw, we clear s_need_sync_fs in sync_filesystems(). Don't we also need
to do the same in fsync...