diff options
author | John Muir <muirj@nortel.com> | 2007-11-28 16:22:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-29 09:24:54 -0800 |
commit | fbee36b92abc965d3fc2862aa60fd0dfcf779d0b (patch) | |
tree | 5d59ccb2236110aeb8fddb75c94fc52beaf79e3b /fs/fuse/dir.c | |
parent | d0186b25e65d4d786727a03044b8aafe2ba118ee (diff) | |
download | linux-fbee36b92abc965d3fc2862aa60fd0dfcf779d0b.tar.gz linux-fbee36b92abc965d3fc2862aa60fd0dfcf779d0b.tar.bz2 linux-fbee36b92abc965d3fc2862aa60fd0dfcf779d0b.zip |
fuse: fix uninitialized field in fuse_inode
I found problems accessing (executing) previously existing files, until
I did chmod on them (or setattr).
If the fi->attr_version is not initialized, then it could be
larger than fc->attr_version until a setattr is executed, and as a
result the inode attributes would never be set.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fuse/dir.c')
0 files changed, 0 insertions, 0 deletions