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:
c22423c
)
Branch HEAD
author
adilger
<adilger>
Sat, 10 Mar 2007 17:54:16 +0000
(17:54 +0000)
committer
adilger
<adilger>
Sat, 10 Mar 2007 17:54:16 +0000
(17:54 +0000)
Use intent directly instead of file->f_it, which doesn't exist on patchless
clients.
r=shadow (original patch)
lustre/llite/file.c
patch
|
blob
|
history
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
bc69af0
..
40c8749
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-434,8
+434,8
@@
int ll_file_open(struct inode *inode, struct file *file)
och_usecount = &lli->lli_open_fd_read_count;
}
- LASSERTF(it->it_flags != 0, "
f_it %p dist %d \n", file->f_
it,
-
file->f_
it->d.lustre.it_disposition);
+ LASSERTF(it->it_flags != 0, "
it %p dist %d \n",
it,
+ it->d.lustre.it_disposition);
down(&lli->lli_och_sem);
if (*och_p) { /* Open handle is present */