From: wangdi Date: Fri, 11 Mar 2005 09:37:41 +0000 (+0000) Subject: exp might be NULL X-Git-Tag: 1.3.4~71 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=6b68a0172ec75b891832b689d7eda151d84e1ded;p=fs%2Flustre-release.git exp might be NULL B: HEAD --- diff --git a/lustre/llite/rw.c b/lustre/llite/rw.c index 4ac38e4..d16f0af 100644 --- a/lustre/llite/rw.c +++ b/lustre/llite/rw.c @@ -531,7 +531,7 @@ int ll_commit_write(struct file *file, struct page *page, unsigned from, out: if (rc == 0) { size = (((obd_off)page->index) << PAGE_SHIFT) + to; - lov_increase_kms(exp, lsm, size); + lov_increase_kms(ll_i2dtexp(inode), lsm, size); if (size > inode->i_size) inode->i_size = size; SetPageUptodate(page);