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:
eacee7d
)
exp might be NULL
author
wangdi
<wangdi>
Fri, 11 Mar 2005 09:37:41 +0000
(09:37 +0000)
committer
wangdi
<wangdi>
Fri, 11 Mar 2005 09:37:41 +0000
(09:37 +0000)
B: HEAD
lustre/llite/rw.c
patch
|
blob
|
history
diff --git
a/lustre/llite/rw.c
b/lustre/llite/rw.c
index
4ac38e4
..
d16f0af
100644
(file)
--- 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);