From: wangdi Date: Sat, 18 Nov 2006 03:55:43 +0000 (+0000) Subject: Branch: b_new_cmd X-Git-Tag: v1_8_0_110~486^2~138 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=bccdc55fa701f7ab0d997f23a433cc4df483b851;p=fs%2Flustre-release.git Branch: b_new_cmd add this assert for debuging b11123 --- diff --git a/lustre/llite/file.c b/lustre/llite/file.c index 126c0b3..f3ef1d4 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -1367,6 +1367,7 @@ repeat: ll_inode_size_unlock(inode, 1); } + LASSERTF(end >= *ppos, "end: %Ld ppos %Ld \n", end, *ppos); chunk = end - *ppos + 1; CDEBUG(D_VFSTRACE, "Read ino %lu, "LPSZ" bytes, offset %lld, i_size %llu\n", inode->i_ino, chunk, *ppos, inode->i_size);