public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.5: further llseek cleanup (3/3)
@ 2002-02-16 22:31 Manfred Spraul
  2002-02-16 23:00 ` [PATCH] " Robert Love
  0 siblings, 1 reply; 3+ messages in thread
From: Manfred Spraul @ 2002-02-16 22:31 UTC (permalink / raw)
  To: Robert Love; +Cc: torvalds, linux-kernel

Hi Robert,

I think the pcilynx change is wrong:

> -        if (newoffs < 0 || newoffs > PCILYNX_MAX_MEMORY + 1) return
> -EINVAL;
> +        if (newoffs < 0 || newoffs > PCILYNX_MAX_MEMORY + 1) {
> +                lock_kernel();
                  ^^^^^^ unlock_kernel()?
> +                return -EINVAL;
> +        }
>  
>          file->f_pos = newoffs;
^^^^^^^^^^^^^^^^^^^ where is the unlock here?
>          return newoffs;

--
	Manfred

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-16 23:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-16 22:31 [PATCH] 2.5: further llseek cleanup (3/3) Manfred Spraul
2002-02-16 23:00 ` [PATCH] " Robert Love
2002-02-16 23:20   ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox