Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bf6eb9
)
snap/snap.c: fixed check for snap_create() to test for correct
author
adilger
<adilger>
Tue, 7 Dec 1999 18:56:37 +0000
(18:56 +0000)
committer
adilger
<adilger>
Tue, 7 Dec 1999 18:56:37 +0000
(18:56 +0000)
read-only copy
lustre/obdclass/genops.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/genops.c
b/lustre/obdclass/genops.c
index
5196a9b
..
7932310
100644
(file)
--- a/
lustre/obdclass/genops.c
+++ b/
lustre/obdclass/genops.c
@@
-207,8
+207,8
@@
int gen_copy_data(struct obd_conn *conn, obdattr *tgt, obdattr *src)
int rc;
ENTRY;
- CDEBUG(D_INODE, "src:
blocks %ld, size %L
d\n",
- src->i_
blocks, src->i_size
);
+ CDEBUG(D_INODE, "src:
ino %ld blocks %ld, size %Ld, dst: ino %l
d\n",
+ src->i_
ino, src->i_blocks, src->i_size, dst->i_ino
);
page = alloc_page(GFP_USER);
if ( !page ) {
EXIT;
@@
-229,7
+229,7
@@
int gen_copy_data(struct obd_conn *conn, obdattr *tgt, obdattr *src)
if ( rc != PAGE_SIZE)
break;
- CDEBUG(D_INODE, "Copied
1 page ...\n"
);
+ CDEBUG(D_INODE, "Copied
page %d ...\n", index
);
index ++;
}