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:
ab3a3fb
)
Branch:b_new_cmd
author
wangdi
<wangdi>
Fri, 27 Oct 2006 10:22:50 +0000
(10:22 +0000)
committer
wangdi
<wangdi>
Fri, 27 Oct 2006 10:22:50 +0000
(10:22 +0000)
add debug info for b11123
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
b0579aa
..
b0aee3b
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-2193,6
+2193,12
@@
loff_t ll_file_seek(struct file *file, loff_t offset, int origin)
#endif
}
retval = offset;
+ } else {
+ CERROR("invalid offset offset "LPX64" inode=%lu/%u(%p)"
+ "seek (%s) isize "LPU64", f_ops "LPU64"\n",
+ offset, inode->i_ino, inode->i_generation, inode,
+ origin == 2 ? "SEEK_END": origin == 1 ? "SEEK_CUR"
+ : "SEEK_SET", inode->i_size, file->f_pos);
}
RETURN(retval);