Displaying 2 results from an estimated 2 matches for "log_trace_str".
2004 Jun 02
2
[Patch] for bug 81
...c
===================================================================
--- namei.c (revision 968)
+++ namei.c (working copy)
@@ -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 e...
2004 Jun 06
1
[PATCH] use sb_getblk
...sb);
blocknum = off >> sb->s_blocksize_bits;
nr = (len + 511) >> 9;
@@ -258,7 +254,7 @@
for (i = 0 ; i < nr ; i++) {
if (bhs[i] == NULL) {
- bhs[i] = getblk (dev, blocknum++, sb->s_blocksize);
+ bhs[i] = sb_getblk(sb, blocknum++);
if (bhs[i] == NULL) {
LOG_TRACE_STR("bh == NULL");
status = -EIO;
Index: src/inc/ocfs.h
===================================================================
--- src/inc/ocfs.h (revision 1014)
+++ src/inc/ocfs.h (working copy)
@@ -542,21 +542,16 @@
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
-typedef st...