--- kernel/linux-4.1.46/kernel/vserver/proc.c 2017-11-15 13:58:57.568589199 +0100 +++ kernel/linux-4.1.48/kernel/vserver/proc.c 2018-01-04 16:00:13.763999877 +0100 @@ -617,13 +617,13 @@ switch (ctx->pos) { case 0: ino = inode->i_ino; - if (!dir_emit(ctx, ".", 1, ino, DT_DIR) < 0) + if (dir_emit(ctx, ".", 1, ino, DT_DIR)) goto out; ctx->pos++; /* fall through */ case 1: ino = parent_ino(dentry); - if (!dir_emit(ctx, "..", 2, ino, DT_DIR) < 0) + if (dir_emit(ctx, "..", 2, ino, DT_DIR)) goto out; ctx->pos++; /* fall through */ @@ -698,13 +698,13 @@ switch (ctx->pos) { case 0: ino = inode->i_ino; - if (!dir_emit(ctx, ".", 1, ino, DT_DIR) < 0) + if (dir_emit(ctx, ".", 1, ino, DT_DIR)) goto out; ctx->pos++; /* fall through */ case 1: ino = parent_ino(dentry); - if (!dir_emit(ctx, "..", 2, ino, DT_DIR) < 0) + if (dir_emit(ctx, "..", 2, ino, DT_DIR)) goto out; ctx->pos++; /* fall through */ @@ -851,13 +851,13 @@ switch (ctx->pos) { case 0: ino = inode->i_ino; - if (!dir_emit(ctx, ".", 1, ino, DT_DIR) < 0) + if (dir_emit(ctx, ".", 1, ino, DT_DIR)) goto out; ctx->pos++; /* fall through */ case 1: ino = parent_ino(dentry); - if (!dir_emit(ctx, "..", 2, ino, DT_DIR) < 0) + if (dir_emit(ctx, "..", 2, ino, DT_DIR)) goto out; ctx->pos++; /* fall through */ @@ -932,13 +932,13 @@ switch (ctx->pos) { case 0: ino = inode->i_ino; - if (!dir_emit(ctx, ".", 1, ino, DT_DIR) < 0) + if (dir_emit(ctx, ".", 1, ino, DT_DIR)) goto out; ctx->pos++; /* fall through */ case 1: ino = parent_ino(dentry); - if (!dir_emit(ctx, "..", 2, ino, DT_DIR) < 0) + if (dir_emit(ctx, "..", 2, ino, DT_DIR)) goto out; ctx->pos++; /* fall through */