Re: vfat problems...

Gordon Chaffee (chaffee@odie.cs.berkeley.edu)
Mon, 16 Dec 1996 10:33:45 -0800 (PST)


Charlie Ross <Charles.A.Ross@cc.gettysburg.edu> wrote:
>I'm getting vfat errors... I'm using 2.1.13... and heres what it says:
>
>I unmounted once and remounted when it went readonly... but it just went
>readonly again...
>
>Dec 14 13:23:06 spiff linux: Problem in vfat_rmdirx
>Dec 14 13:23:10 spiff linux: Problem in vfat_rmdirx

This message is not a problem. It occurs if you execute rmdir on
a non-existent directory. It can be fixed with this patch that was
made against a 2.0.27 kernel but should still work on 2.1.x.

Gordon Chaffee

--- linux/fs/vfat/namei.c.orig Mon Dec 16 10:28:43 1996
+++ linux/fs/vfat/namei.c Mon Dec 16 10:29:01 1996
@@ -1261,10 +1261,8 @@
if (res > 0) {
res = 0;
}
- } else {
- printk("Problem in vfat_rmdirx\n");
+ dir->i_version = ++event;
}
- dir->i_version = ++event;

rmdir_done:
fat_brelse(sb, bh);