lkml.org 
[lkml]   [2004]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] let fat handle MS_SYNCHRONOUS flag
On 24 Nov 2004 at 23h11, OGAWA Hirofumi wrote:

Hi,

> > + bh = sb_bread(sb, MSDOS_SB(sb)->fsinfo_sector);
> > + if (bh != NULL) {
> > + sync_dirty_buffer(bh);
> > + brelse(bh);
> > + } else {
> > + BUG_ON(1);
> > + }
> > + }
>
> FAT12/16 doesn't have FSINFO sector. And if sb_bread() returns NULL,
> we should return the valid error.

ok, this is probably not the correct way to get the buffer_head for a
given inode... Do you know what I should use?

--
Colin
-
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 14:08    [W:0.081 / U:0.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site