tree: git://git.cmpxchg.org/linux-mmotm.git master head: 7207a315977b07013f25ae9a3c1f8168facb6343 commit: ddf01a6082ce698d35b66ca864b37642f5863596 [57/249] ocfs2: add functions to add and remove inode in orphan dir config: s390-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout ddf01a6082ce698d35b66ca864b37642f5863596 # save the attached .config to linux build tree make.cross ARCH=s390 All warnings: fs/ocfs2/namei.c: In function 'ocfs2_del_inode_from_orphan': >> fs/ocfs2/namei.c:2767:31: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] BUG_ON(!di->i_flags & cpu_to_le32(OCFS2_DIO_ORPHANED_FL)); ^ vim +2767 fs/ocfs2/namei.c 2751 mutex_lock(&orphan_dir_inode->i_mutex); 2752 status = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); 2753 if (status < 0) { 2754 mutex_unlock(&orphan_dir_inode->i_mutex); 2755 iput(orphan_dir_inode); 2756 mlog_errno(status); 2757 goto bail_unlock_inode; 2758 } 2759 2760 handle = ocfs2_start_trans(osb, 2761 OCFS2_INODE_DEL_FROM_ORPHAN_CREDITS); 2762 if (IS_ERR(handle)) { 2763 status = PTR_ERR(handle); 2764 goto bail_unlock_orphan; 2765 } 2766 > 2767 BUG_ON(!di->i_flags & cpu_to_le32(OCFS2_DIO_ORPHANED_FL)); 2768 2769 /* Only delete entry if OCFS2_ORPHANED_FL not set, or 2770 * there are two entries added */ 2771 if (!(di->i_flags & cpu_to_le32(OCFS2_ORPHANED_FL)) || 2772 (di->i_flags & cpu_to_le32(OCFS2_ORPHANED_FL) && 2773 (di->i_orphaned_slot != di->i_dio_orphaned_slot))) { 2774 status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, 2775 inode, orphan_dir_bh); --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation