[patch] fix the ext3 data=journal unmount bug

David A. Bandel david
Mon May 17 11:41:16 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 06 Dec 2002 19:58:33 -0800
begin  Ken Moffat <kmoffat at drizzle.com> spewed forth:

> David A. Bandel wrote:
> 
> save the patch:
> 
> >cut the text, the first line should be:
> >- - --- linux-akpm/fs/buffer.c~sync_fs    Thu Dec  5 21:33:56 2002
> >
> >the last line is the - just before the signature.  Make sure you don't
> >wrap any lines cutting and pasting between the message and the patch
> >file.
> >
> >assuming your kernel source is /usr/src/linux, save the patch in
> >/usr/src as ext3.patch and cd linux
> >
> >I suggest you "dry-run" the patch first (test it):
> >
> >patch -p1 --dry-run < ../ext3.patch
> >
> >If you get no failures (you will if you put the XFS patch on), then
> >remove the --dry-run and go again.
> >
> >If you decide you don't want the patch anymore, just do:
> >
> >patch -p1 -R < ../ext3.patch
> >
> >and all will be reversed.
> >
> >
> >  
> >
> Oops, failure... I'm using libranet, with kernel 2.4.20 from kernel.org,
> 
> if that matters.
> 
> # patch -p1 --dry-run < ../ext3.patch
> patching file fs/buffer.c
> patching file include/linux/fs.h
> patching file fs/super.c
> patching file fs/ext3/super.c
> Hunk #3 FAILED at 1580.
> 1 out of 3 hunks FAILED -- saving rejects to file fs/ext3/super.c.rej

I got the same thing, just "assumed" that the XFS patch was the culprit,
but seeing as it's the super.c in ext3, that's not it.  Guess I need to
look later at the reject to see what it was looking to patch and see if a
small change will fix the problem or not.  Note that, since this is a
forwarded patch, a line might be wrapped in our text that's not wrapped in
the original and would cause this reject.

Ciao,

David A. Bandel
- -- 
Focus on the dream, not the competition.
		-- Nemesis Racing Team motto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE98d443uVcotqGMQcRAqANAKDJ0g9BfSntnK8vZxfXpwN8QfBNSgCfaicL
nlF0NUUg19/OEvdPua2ihNE=
=Uf8f
-----END PGP SIGNATURE-----


More information about the Linux-users mailing list