summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_aops.c
diff options
context:
space:
mode:
authorDave Chinner <david@fromorbit.com>2014-04-03 23:07:35 +0200
committerDave Chinner <david@fromorbit.com>2014-04-03 23:07:35 +0200
commita6cf33bc566c5fe888bfa9cf6448037c90661f67 (patch)
treef212498321bbba9ef94bca2702638487b942eb9d /fs/xfs/xfs_aops.c
parentMerge branch 'xfs-O_TMPFILE-support' into for-next (diff)
parentxfs: fix directory hash ordering bug (diff)
downloadlinux-a6cf33bc566c5fe888bfa9cf6448037c90661f67.tar.xz
linux-a6cf33bc566c5fe888bfa9cf6448037c90661f67.zip
Merge branch 'xfs-bug-fixes-for-3.15-3' into for-next
Diffstat (limited to 'fs/xfs/xfs_aops.c')
-rw-r--r--fs/xfs/xfs_aops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
index 98016b39b8af..75df77d09f75 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -659,10 +659,10 @@ xfs_check_page_type(
if (type == XFS_IO_UNWRITTEN)
return true;
} else if (buffer_delay(bh)) {
- if (type == XFS_IO_DELALLOC);
+ if (type == XFS_IO_DELALLOC)
return true;
} else if (buffer_dirty(bh) && buffer_mapped(bh)) {
- if (type == XFS_IO_OVERWRITE);
+ if (type == XFS_IO_OVERWRITE)
return true;
}