buffer: use mapping_set_error instead of setting the flag
authorJeff Layton <jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:20 +0000 (07:02 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 6 Jul 2017 11:02:20 +0000 (07:02 -0400)
commitd945b59db8449ab8323995391c6a63525b3666f6
treeabc54fa63c2abd410beb129335968c1d552bd4ff
parentaf21bfaf70a1358f306588232f741b292d9be5a7
buffer: use mapping_set_error instead of setting the flag

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/buffer.c