> index 685c7a7..1408be3 100644 > --- a/libxfs/libxfs_api_defs.h > +++ b/libxfs/libxfs_api_defs.h > @@ -108,4 +108,8 @@ > > #define xfs_verify_cksum libxfs_verify_cksum > > +/* inode link counts */ > +#define set_nlink(inode, nlink) ({ (inode)->i_nlink = (nlink); }) > +#define inc_nlink(inode) (inode)->i_nlink++ Can we defines these as inlines? > + ip->i_vnode.i_nlink++; /* account for . */ Shouldn't we use VFS_I() like everywhere else? _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs