From d2c4553428476cd53af6e6a39552b8588dbe9b38 Mon Sep 17 00:00:00 2001 From: adilger Date: Sat, 10 Mar 2007 17:54:16 +0000 Subject: [PATCH] Branch HEAD Use intent directly instead of file->f_it, which doesn't exist on patchless clients. r=shadow (original patch) --- lustre/llite/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 1.8.3.1