linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* hfsplus journal detection - try 3
@ 2008-11-08  8:55 Warren Turkal
  2008-11-08  8:55 ` [PATCH] Identify journal info block in volume header Warren Turkal
  0 siblings, 1 reply; 7+ messages in thread
From: Warren Turkal @ 2008-11-08  8:55 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Roman Zippel, Warren Turkal

Here's the third try for this improved journal detection for HFS+. It
allows the HFS+ volume to be mounted rw with having to use the force
mount option in the case where the journal info block in the volume
header is 0 and journal attribute bit is on. Please review and consider
for inclusion.

Thanks,
wt

^ permalink raw reply	[flat|nested] 7+ messages in thread
* hfsplus journal detection - try 4
@ 2008-11-11 20:56 Warren Turkal
  2008-11-11 20:56 ` [PATCH] Identify journal info block in volume header Warren Turkal
  0 siblings, 1 reply; 7+ messages in thread
From: Warren Turkal @ 2008-11-11 20:56 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Roman Zippel, Warren Turkal

Here's another shot at this patch. I found a small issue with sparse.
If this is suitable for inclusion, could someone please pull it into
their tree so that it can be merged upstream?

Thanks,
wt

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [PATCH] Fix journal detection on HFS+.
@ 2008-11-05 14:09 Christoph Hellwig
  2008-11-06  7:44 ` hfsplus journal detection - next try Warren Turkal
  0 siblings, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2008-11-05 14:09 UTC (permalink / raw)
  To: J??rn Engel; +Cc: Warren Turkal, linux-fsdevel, Roman Zippel

On Wed, Nov 05, 2008 at 11:40:54AM +0100, J??rn Engel wrote:
> On Wed, 5 November 2008 00:00:26 -0800, Warren Turkal wrote:
> >
> > +				vhdr->journal_info_block != cpu_to_be32(0)) {
> 
> 0 doesn't need explicit cpu_to_be32().  You can drop the whole
> != cpu_to_be32(0)
> 
> > +			(be32_to_cpu(vhdr->journal_info_block) != 0) &&
> 
> Same here.

Yeah.  In addition adding a little helper that checks both the journal
flag and the non-zeroness of journal_info_block would be useful so that
everyone adding more checks like this in the future get it right.


^ permalink raw reply	[flat|nested] 7+ messages in thread
* hfsplus journal detection
@ 2008-11-05  8:00 Warren Turkal
  2008-11-05  8:00 ` [PATCH] Identify journal info block in volume header Warren Turkal
  0 siblings, 1 reply; 7+ messages in thread
From: Warren Turkal @ 2008-11-05  8:00 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Roman Zippel, Warren Turkal

These small changes change the hfsplus filesystem so that a 0 in the journal
info block of the volume header indicates that there is no journal. This change
allows the such an HFS+ volume to mount in rw mode without needing the force
mount option.

Are there any tips you can give me so that I can make sure I am doing the right
thing to get this into the Linux kernel?

Thanks,
wt

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-11-19 22:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-08  8:55 hfsplus journal detection - try 3 Warren Turkal
2008-11-08  8:55 ` [PATCH] Identify journal info block in volume header Warren Turkal
2008-11-08  8:55   ` [PATCH] Fix journal detection on HFS+ Warren Turkal
  -- strict thread matches above, loose matches on Subject: below --
2008-11-11 20:56 hfsplus journal detection - try 4 Warren Turkal
2008-11-11 20:56 ` [PATCH] Identify journal info block in volume header Warren Turkal
2008-11-19 22:49   ` Andrew Morton
2008-11-05 14:09 [PATCH] Fix journal detection on HFS+ Christoph Hellwig
2008-11-06  7:44 ` hfsplus journal detection - next try Warren Turkal
2008-11-06  7:44   ` [PATCH] Identify journal info block in volume header Warren Turkal
2008-11-05  8:00 hfsplus journal detection Warren Turkal
2008-11-05  8:00 ` [PATCH] Identify journal info block in volume header Warren Turkal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).