]> 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>
Thu, 4 Apr 2013 06:26:36 +0000 (17:26 +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 5ffc58e0a92edcc9f29207a42981ad5f457ee765..96f55bf207ed91a425a6efd4e34223468c5fc138 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;