xfs: remove extraneous buffer flag changes
authorEric Sandeen <sandeen@sandeen.net>
Wed, 20 Jul 2016 00:53:22 +0000 (10:53 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 00:53:22 +0000 (10:53 +1000)
commit0b4db5dff3599b46957bfd8a4c66945c915e26d3
tree879b457f05e511e302fb138b7e8782fdfcc73aaf
parente97f6c545f963abd7de56a58a29ba73a9edee015
xfs: remove extraneous buffer flag changes

Fix up a couple places where extra flag manipulation occurs.

In the first case we clear XBF_ASYNC and then immediately reset it -
so don't bother clearing in the first place.

In the 2nd case we are at a point in the function where the buffer
must already be async, so there is no need to reset it.

Add consistent spacing around the " | " while we're at it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf_item.c