[PATCH] fuse: fix zero timeout
authorMiklos Szeredi <miklos@szeredi.hu>
Sun, 30 Jul 2006 10:04:08 +0000 (03:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:43 +0000 (13:28 -0700)
commit685d16ddb07b74537fb18972784e6214840fdd20
treef9a0825348629824f7867270c5860edb02e91e75
parent25d7dfdaf3404bb31b8f55283fd2c456cb7b4001
[PATCH] fuse: fix zero timeout

An attribute and entry timeout of zero should mean, that the entity is
invalidated immediately after the operation.  Previously invalidation only
happened at the next clock tick.

Reported and tested by Craig Davies.

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