commit ac01b0d1b0b3efa3d906775bc974d1a33cdc8d6e
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Sat Apr 7 16:05:08 2007 -0400
small bug fix
diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index 1ff831a..b161dd3 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1738,7 +1738,11 @@ int odf_is_opaque(struct dentry *dentry)
*/
int odf_get_opaque(struct super_block *sb, struct dentry *dentry)
{
- int i, opaque = UNIONFS_D(dentry)->odf_info->opaque;
+ int i, opaque;
+
+ BUG_ON(!UNIONFS_D(dentry)->odf_info);
+
+ opaque = UNIONFS_D(dentry)->odf_info->opaque;
if (opaque == -1)
return -1;
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs