commit 783ed6f5a2c00ff831fa3efb4b1e2e8719bcfffa
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Fri May 25 00:02:12 2007 -0400
cleaner odf_is_new function
diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index b12e66a..7a45279 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1523,9 +1523,7 @@ int odf_is_new(struct odf_sb_info *osi)
{
if (!osi->sb)
return 1;
- else if (unlikely(!osi->sb->d_inode))
- return 1;
- return 0;
+ return !osi->sb->d_inode;
}
/*
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs