Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756453AbZCESNw (ORCPT ); Thu, 5 Mar 2009 13:13:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754161AbZCESNl (ORCPT ); Thu, 5 Mar 2009 13:13:41 -0500 Received: from e32.co.us.ibm.com ([32.97.110.150]:50254 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754055AbZCESNk (ORCPT ); Thu, 5 Mar 2009 13:13:40 -0500 Date: Thu, 5 Mar 2009 12:13:25 -0600 From: "Serge E. Hallyn" To: Dave Hansen Cc: Ingo Molnar , containers , "linux-kernel@vger.kernel.org" , Oren Laadan , Alexey Dobriyan , Christoph Hellwig Subject: Re: [RFC][PATCH 00/11] track files for checkpointability Message-ID: <20090305181325.GA10666@us.ibm.com> References: <20090305163857.0C18F3FD@kernel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090305163857.0C18F3FD@kernel> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1155 Lines: 33 I need the following to get fdinfo checkpointability output: >From 4002821bf068c122867c3b1819817f0b1fdfc250 Mon Sep 17 00:00:00 2001 From: Serge E. Hallyn Date: Thu, 5 Mar 2009 10:12:30 -0800 Subject: [PATCH 1/1] checkpointable: add missing trailing \n for fdinfo output Signed-off-by: Serge E. Hallyn --- fs/proc/base.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index bde92c3..12543b6 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -1657,7 +1657,7 @@ static void proc_fd_write_info(struct file *file, char *info) if (file->f_op->checkpoint) checkpointable = 1; - p += scnprintf(info+p, max-p, "checkpointable:\t%d", checkpointable); + p += scnprintf(info+p, max-p, "checkpointable:\t%d\n", checkpointable); if (!checkpointable) p += cr_explain_file(file, info+p, max-p); } -- 1.5.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/