[Ocfs2-devel] [PATCH]ocfs2-1.2: Add dput for uuid entry.

Tao Ma tao.ma at oracle.com
Tue May 6 23:48:25 PDT 2008


In ocfs2-1.2, when we mount a device, a debugfs dir will be created 
using its uuid. When 2 devices have the same uuid, after the 1st device 
is mounted, the 2nd one can't be mounted. This is OK. But the problem is 
that the dentry's reference is added. So when the 1st volume is 
umounted, none of these 2 volumes can be mounted then. So this fix 
solves this problem by dputting the entry(Copied from the latest debugfs 
code in Linux kernel).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugfs.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20080507/ffa93e59/attachment.bin 


More information about the Ocfs2-devel mailing list