gmzang / maczfs

Automatically exported from code.google.com/p/maczfs
Other
0 stars 0 forks source link

VN_RELE vs vnode_put #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
There's a few places where we have IFDEF'd code like:

#ifdef __APPLE__
                        vnode_put(ZTOV(attrzp));
#else
                        VN_RELE(ZTOV(attrzp));
#endif

If we can conditionally change the VN_RELE action to do a vnode_put instead, 
then we may be able 
to avoid such ifdefs littered around the code.

Original issue reported on code.google.com by alex.ble...@gmail.com on 22 Feb 2010 at 1:13