From: adilger Date: Sat, 10 Mar 2007 17:54:16 +0000 (+0000) Subject: Branch HEAD X-Git-Tag: 1.4.10~82 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d2c4553428476cd53af6e6a39552b8588dbe9b38;p=fs%2Flustre-release.git Branch HEAD Use intent directly instead of file->f_it, which doesn't exist on patchless clients. r=shadow (original patch) --- diff --git a/lustre/llite/file.c b/lustre/llite/file.c index bc69af0..40c8749 100644 --- 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 */