path: root/mm
diff options
authorJan Blunck <>2010-05-26 14:44:54 -0700
committerLinus Torvalds <>2010-05-27 09:12:56 -0700
commit866707fc2721df8fee637fcf0239628b9231f9ea (patch)
tree485b1a369c1b879a2dd556e44bd30a23e6bfd87f /mm
parentca572727dbb945e443564029a495157fd2e72995 (diff)
Documentation/filesystems/Locking: update documentation on llseek() wrt BKL
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. Signed-off-by: Jan Blunck <> Acked-by: Alan Cox <> Cc: Arnd Bergmann <> Cc: Christoph Hellwig <> Cc: Frederic Weisbecker <> Cc: John Kacur <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions