]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
aio-refcounting-cleanup-checkpatch-fixes
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 26 Mar 2013 23:26:19 +0000 (10:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:30:03 +0000 (18:30 +1100)
ERROR: space required before the open brace '{'
#330: FILE: fs/aio.c:632:
+ if (ctx->user_id == ctx_id){

total: 1 errors, 0 warnings, 395 lines checked

./patches/aio-refcounting-cleanup.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>
fs/aio.c

index 71fd6a97750671e88faf90fd1790fe4e1d5db6a2..80cfbad34e12d425b36c4b6b8c8365d8c85f2472 100644 (file)
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -630,7 +630,7 @@ static struct kioctx *lookup_ioctx(unsigned long ctx_id)
        rcu_read_lock();
 
        hlist_for_each_entry_rcu(ctx, &mm->ioctx_list, list) {
-               if (ctx->user_id == ctx_id){
+               if (ctx->user_id == ctx_id) {
                        atomic_inc(&ctx->users);
                        ret = ctx;
                        break;