Hi,

According to comment of au_test_fs_bad_iattr_size() it should return 1
if filesystem doesn't maintain i_blocks.
It seems to me ubifs doesn't maintain i_blocks like xfs.
Please find attached patch and review it.

Thanks,
Joonwoo
diff --git a/fs/aufs/fstype.h b/fs/aufs/fstype.h
index be664a0..c152f18 100644
--- a/fs/aufs/fstype.h
+++ b/fs/aufs/fstype.h
@@ -376,7 +376,7 @@ static inline int au_test_fs_bad_iattr_size(struct super_block *sb)
 		/* || au_test_ocfs2(sb) */	/* untested */
 		/* || au_test_ocfs2_dlmfs(sb) */ /* untested */
 		/* || au_test_sysv(sb) */	/* untested */
-		/* || au_test_ubifs(sb) */	/* untested */
+		|| au_test_ubifs(sb)		/* untested */
 		/* || au_test_minix(sb) */	/* untested */
 		;
 }
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

Reply via email to