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:
f0501aa
)
- bug fixed: variable was used being uninitialized
author
alex
<alex>
Mon, 29 Sep 2003 20:49:21 +0000
(20:49 +0000)
committer
alex
<alex>
Mon, 29 Sep 2003 20:49:21 +0000
(20:49 +0000)
lustre/obdfilter/filter_io_26.c
patch
|
blob
|
history
diff --git
a/lustre/obdfilter/filter_io_26.c
b/lustre/obdfilter/filter_io_26.c
index
3b90827
..
e522962
100644
(file)
--- a/
lustre/obdfilter/filter_io_26.c
+++ b/
lustre/obdfilter/filter_io_26.c
@@
-96,6
+96,7
@@
int filter_commitrw_write(struct obd_export *exp, int objcount,
LASSERT(objcount == 1);
LASSERT(current->journal_info == NULL);
+ inode = res->dentry->d_inode;
blocks_per_page = PAGE_SIZE >> inode->i_blkbits;
LASSERT(blocks_per_page <= MAX_BLOCKS_PER_PAGE);
@@
-110,7
+111,6
@@
int filter_commitrw_write(struct obd_export *exp, int objcount,
cleanup_phase = 1;
fso.fso_dentry = res->dentry;
fso.fso_bufcnt = obj->ioo_bufcnt;
- inode = res->dentry->d_inode;
push_ctxt(&saved, &obd->obd_ctxt, NULL);
cleanup_phase = 2;