]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: fix up mismerge in libxfs_iflush_int
authorEric Sandeen <sandeen@redhat.com>
Mon, 29 Feb 2016 05:03:06 +0000 (16:03 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 29 Feb 2016 05:03:06 +0000 (16:03 +1100)
commitff0f39eadb85f3eb0110184bf6d64e43a2ed7f3d
tree8b76c670a377bc00f36bc280171c09812d07cf3f
parente37bf53c2e657dafe9cdda05e1f2e0ffd5894412
libxfs: fix up mismerge in libxfs_iflush_int

XFS_ISDIR is a bool, don't compare it to S_IFDIR

e37bf5 xfs: mode di_mode to vfs inode had a small mis-merge
from kernelspace, when moving from

if ((ip->i_d.di_mode & S_IFMT) == S_IFDIR)
to
if (XFS_ISDIR(ip) == S_IFDIR

that "==" should have been dropped.

Signed-off-by: ERic Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/util.c