BjoKaSH / maczfs-archive

Legacy MacZFS - Archived here due Google-code shutdown. Automatically exported from code.google.com/p/maczfs -- Do Not Use! Use https://openzfsonosx.org/
Other
1 stars 0 forks source link

VN_RELE vs vnode_put #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 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