--- linux-2.5.50/fs/read_write.c 2002-11-27 14:36:14.000000000 -0800 +++ linux/fs/read_write.c 2002-11-30 11:35:14.000000000 -0800 @@ -400,15 +400,14 @@ /* VERIFY_WRITE actually means a read, as we write to user space */ ret = locks_verify_area((type == READ ? FLOCK_VERIFY_READ : FLOCK_VERIFY_WRITE), inode, file, *pos, tot_len); if (ret) goto out; - fnv = NULL; if (type == READ) { fn = file->f_op->read; fnv = file->f_op->readv; } else { fn = (io_fn_t)file->f_op->write; fnv = file->f_op->writev; }