Whamcloud - gitweb
Extra debugging for a situation that may no longer be possible: if we
authorpschwan <pschwan>
Wed, 28 May 2003 20:38:21 +0000 (20:38 +0000)
committerpschwan <pschwan>
Wed, 28 May 2003 20:38:21 +0000 (20:38 +0000)
commit64564bd08f83a96484de3f519c9d733020f0daa7
tree58a15164f515e618978ca3cf7f179e5c6de141f6
parent63a3c278f7cff13ec3106cf86dcd0bfe3c68b0a7
Extra debugging for a situation that may no longer be possible: if we
enter ll_alloc_brw with an i_blksize of < PAGE_CACHE_SIZE, we would
allocate enough space for zero pages.  Then LASSERT soon thereafter.

The fix that Andreas made to ll_file_open might prevent this, but just
in case, if we ever get into here with llwp->max == 0, print an error
and force it to be 1.
lustre/llite/iod.c