Re: [RESEND][PATCH] lseek: remove i_mutex
From: Al Viro
Date: Thu Jun 25 2009 - 00:55:16 EST
On Thu, Jun 25, 2009 at 01:41:10PM +0900, Hisashi Hifumi wrote:
> Hi,
>
> Following patch removes i_mutex from generic_file_llseek.
> I think the reason of protecting lseek with i_mutex is just
> touching i_size (and f_pos) atomically.
NAK. There's also a lot of fun with directories - readdir() vs. llseek().
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/