summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-04-26 10:58:43 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-04-26 17:33:07 +1000
commit628dda846b7d3af899bab154ca8b10642e87e06c (patch)
tree6080bffbb6665f3363ab371ce8cf0f4ea9e14ca0
parent884278c620e1e0701d9e809fea38874f0d281f95 (diff)
aio-kill-ki_retry-checkpatch-fixes
WARNING: line over 80 characters #307: FILE: fs/aio.c:1164: + ret == -ERESTARTNOHAND || ret == -ERESTART_RESTARTBLOCK)) total: 0 errors, 1 warnings, 344 lines checked ./patches/aio-kill-ki_retry.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Kent Overstreet <koverstreet@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--fs/aio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/aio.c b/fs/aio.c
index ec7501f08a71..8c487a93f568 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -1167,7 +1167,8 @@ rw_common:
* may be already running. Just fail this IO with EINTR.
*/
if (unlikely(ret == -ERESTARTSYS || ret == -ERESTARTNOINTR ||
- ret == -ERESTARTNOHAND || ret == -ERESTART_RESTARTBLOCK))
+ ret == -ERESTARTNOHAND ||
+ ret == -ERESTART_RESTARTBLOCK))
ret = -EINTR;
aio_complete(req, ret, 0);
}