summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-11-04 18:18:04 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-11-04 18:18:04 -0800
commit9448b90c048308237f716137abbe7c9e86006f14 (patch)
tree141f58c18eda29f708fa94910121b6d95f1617e7 /kernel
parent9aefc010ae3f2646d7870fcc244dc96a8c0d3b30 (diff)
[PATCH] `event' removal: other filesystems
Patch from Manfred Spraul Several filesystems compare f_version and i_version to validate directory positions in readdir(): The directory position is revalidated if i_version is not equal f_version. Operations that could invalidate the cached position set i_version or f_version to '++event', event is a global variable. Global uniqueness is not needed, 'i_version++' and 'f_version=0' is sufficient to guarantee that the next readdir() will revalidate the directory position, and that avoids the need for an ugly global variable. The attached patch converts all filesystems except ext2, which was converted with a seperate patch.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions