From: Miklos Szeredi Date: Mon, 12 Dec 2005 09:34:45 +0000 (+0000) Subject: fix X-Git-Tag: fuse_2_5_0_pre2~24 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=76fc3de965e5e664db2f45ebd6c71f858d697707;p=qemu-gpiodev%2Flibfuse.git fix --- diff --git a/ChangeLog b/ChangeLog index d1d98e9..48b3929 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-12-12 Miklos Szeredi + + * Fix stale code in ifdef FreeBSD. Patch from Csaba Henk + 2005-12-09 Miklos Szeredi * Released 2.5.0-pre1 diff --git a/lib/fuse.c b/lib/fuse.c index cd5307c..dfc9668 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -1875,7 +1875,7 @@ struct fuse *fuse_new_common(int fd, const char *opts, * In FreeBSD, we always use these settings as inode numbers are needed to * make getcwd(3) work. */ - f->flags |= FUSE_READDIR_INO; + f->conf.readdir_ino = 1; #endif f->se = fuse_lowlevel_new(f->conf.llopts, &fuse_path_ops,