Whamcloud - gitweb
Branch HEAD
authoradilger <adilger>
Sat, 10 Mar 2007 17:54:16 +0000 (17:54 +0000)
committeradilger <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

index bc69af0..40c8749 100644 (file)
@@ -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 */