aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWu Fengguang <[email protected]>2010-03-05 13:42:01 -0800
committerLinus Torvalds <[email protected]>2010-03-06 11:26:25 -0800
commit42e49608683ab25fbbbf9c40edb944601e543882 (patch)
tree5cc8beee91f235cdaf6be986f90275e04137c2bc /include/linux
parent85f1fb72fa76eabc4481dc79f42d2b011df54762 (diff)
vfs: take f_lock on modifying f_mode after open time
We'll introduce FMODE_RANDOM which will be runtime modified. So protect all runtime modification to f_mode with f_lock to avoid races. Signed-off-by: Wu Fengguang <[email protected]> Cc: Al Viro <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Trond Myklebust <[email protected]> Cc: Chuck Lever <[email protected]> Cc: <[email protected]> [2.6.33.x] Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions