]> err.no Git - linux-2.6/commit
[PATCH] document i_size_write locking rules
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 17 Oct 2006 07:10:07 +0000 (00:10 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Oct 2006 15:18:45 +0000 (08:18 -0700)
commit7762f5a0b709b415fda132258ad37b9f2a1db994
tree7eb1b54dc392f2100bf2cf1e407a2480a4680e7d
parent9ffbb9162312fd8113037cb3d94f787f06bbfa9a
[PATCH] document i_size_write locking rules

Unless someone reads the documentation for write_seqcount_{begin,end} it is
not obvious, that i_size_write() needs locking.  Especially, that lack of such
locking can result in a system hang.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/fs.h