From: Andrew Morton Date: Wed, 5 Dec 2018 00:14:26 +0000 (+1100) Subject: fs-remove-caller-signal_pending-branch-predictions-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8b39c3063faaf25dcf2dd0c310a9ae834faf6ac9;p=users%2Fwilly%2Flinux.git fs-remove-caller-signal_pending-branch-predictions-fix fix fs/buffer.c Cc: Davidlohr Bueso Signed-off-by: Andrew Morton Signed-off-by: Stephen Rothwell --- diff --git a/fs/buffer.c b/fs/buffer.c index 803f9d75162c..580fda0ab61b 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -2397,7 +2397,7 @@ static int cont_expand_zero(struct file *file, struct address_space *mapping, balance_dirty_pages_ratelimited(mapping); - if (fatal_signal_pending(current))) { + if (fatal_signal_pending(current)) { err = -EINTR; goto out; }