Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



On 8/10/12 9:49 AM, Emmanuel Dreyfus wrote:
Module Name:    src
Committed By:   manu
Date:           Fri Aug 10 16:49:36 UTC 2012

Modified Files:
        src/lib/libperfuse: perfuse.c
        src/lib/libpuffs: puffs.3
        src/sys/fs/puffs: puffs_msgif.h puffs_vnops.c

Log Message:
Add PUFFS_KFLAG_CACHE_DOTDOT so that vnodes hold a reference on their
parent, keeping them active, and allowing to lookup .. without sending
a request to the filesystem.

Enable the featuure for perfused, as this is how FUSE works.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/lib/libperfuse/perfuse.c
cvs rdiff -u -r1.53 -r1.54 src/lib/libpuffs/puffs.3
cvs rdiff -u -r1.79 -r1.80 src/sys/fs/puffs/puffs_msgif.h
cvs rdiff -u -r1.173 -r1.174 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Manu-

Did you forget to commit something?  I get:

--- dependall-puffs ---
cc1: warnings being treated as errors
/usr/src/sys/fs/puffs/puffs_vnops.c: In function 'puffs_vnop_lookup':
/usr/src/sys/fs/puffs/puffs_vnops.c:512:2: error: implicit declaration of functi
on 'PUFFS_USE_DOTDOTCACHE'
/usr/src/sys/fs/puffs/puffs_vnops.c:515:25: error: 'struct puffs_node' has no me
mber named 'pn_parent'
/usr/src/sys/fs/puffs/puffs_vnops.c:697:17: error: 'struct puffs_node' has no me
mber named 'pn_parent'
/usr/src/sys/fs/puffs/puffs_vnops.c: In function 'puffs_vnop_create':

when building, and I don't see PUFFS_USE_DOTDOTCACHE declared anywhere in sys.

+j



Home | Main Index | Thread Index | Old Index