This is a follow-up. Kernel 3.2 enforces using inc|drop_inlink(inode)
while 3.1 tolerated using inode->i_nlink++|-- .

So all occurrences of direct manipulation of i_nlink struct should be
replaced by the dedicated function calls.

I still have to check for how long these functions have been
implemented. There are present at least since 2.6.32, so the code
should work fine on any kernel version 2.6.32 and beyond.

-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |   <eflo...@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

Attachment: patch.k3.1-3.2
Description: Binary data

_______________________________________________
Pvfs2-developers mailing list
Pvfs2-developers@beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to