[Ocfs-devel] [Patch] for bug 81
Ling, Xiaofeng
xiaofeng.ling at intel.com
Fri Jun 4 11:00:14 CDT 2004
seems the fix is rollback in revision 1001=20
>-----Original Message-----
>From: khackel at ca2.us.oracle.com=20
>[mailto:khackel at ca2.us.oracle.com] On Behalf Of Kurt Hackel
>Sent: 2004=C4=EA6=D4=C22=C8=D5 14:09
>To: Ling, Xiaofeng
>Cc: ocfs-devel at oss.oracle.com
>Subject: Re: [Ocfs-devel] [Patch] for bug 81
>
>Thank you very much! Committed to revision 969.
>-kurt
>
>On Wed, Jun 02, 2004 at 01:53:36PM +0800, Ling, Xiaofeng wrote:
>> Index: namei.c
>> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- namei.c (revision 968)
>> +++ namei.c (working copy)
>> @@ -526,7 +526,7 @@
>>=20
>> status =3D -EBUSY;
>>=20
>> - if (!empty_dir(inode)) {
>> + if ( S_ISDIR (inode->i_mode) && !empty_dir(inode)) {
>> LOG_TRACE_STR ("dentry is not empty, cannot delete");
>> goto bail;
>> } else if (OCFS_I(inode)->open_hndl_cnt > 0) {
>>=20
>> bug 81 description:
>> Env:
>> kernel 2.4.20
>> Dell Pc P4-2.1 512M, 80G
>> Reproduce Step:
>> 1.load_ocfs2 and mount to /ocfs
>> 2. touch /ocfs/file
>> 3. rm /ocfs/file
>>=20
>> With error message
>> (10396) ERROR at dir.c, 253: bad directory (dir #36300288) - no data
>> block
>> _______________________________________________
>> Ocfs-devel mailing list
>> Ocfs-devel at oss.oracle.com
>> http://oss.oracle.com/mailman/listinfo/ocfs-devel
>
More information about the Ocfs-devel
mailing list