search for: open_hndl_cnt

Displaying 1 result from an estimated 1 matches for "open_hndl_cnt".

2004 Jun 02
2
[Patch] for bug 81
...py) @@ -526,7 +526,7 @@ status = -EBUSY; - 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) { 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 With error message (10396) ERROR at dir.c, 253: bad directory (dir #36300288) - no data block