Re: [PATCH 15/15] BKL: Update documentation onllseek()

From: Alan Cox
Date: Fri Nov 20 2009 - 12:01:31 EST


On Fri, 20 Nov 2009 17:40:45 +0100
Jan Blunck <jblunck@xxxxxxx> wrote:

> The inode's i_size is not protected by the big kernel lock. Therefore it
> does not make sense to recommend taking the BKL in filesystems llseek
> operations. Instead it should use the inode's mutex or use just use
> i_size_read() instead. Add a note that this is not protecting file->f_pos.

Looks good to me reading through it.

Alan
--
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/