lkml.org 
[lkml]   [1996]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: vfat problems...

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);



\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.041 / U:3.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site