[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070817194342.GA8744@c2.user-mode-linux.org>
Date: Fri, 17 Aug 2007 15:43:42 -0400
From: Jeff Dike <jdike@...toit.com>
To: Andrew Morton <akpm@...l.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
uml-devel <user-mode-linux-devel@...ts.sourceforge.net>,
Joe Perches <joe@...ches.com>,
Satyam Sharma <satyam@...radead.org>
Subject: [PATCH 5/6] UML - Remove unneeded if from hostfs
Get rid of an empty if statement which might look like a bug to a
casual reader.
Signed-off-by: Jeff Dike <jdike@...ux.intel.com>
--
fs/hostfs/hostfs_user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-2.6.22/fs/hostfs/hostfs_user.c
===================================================================
--- linux-2.6.22.orig/fs/hostfs/hostfs_user.c 2007-08-17 13:36:34.000000000 -0400
+++ linux-2.6.22/fs/hostfs/hostfs_user.c 2007-08-17 13:37:45.000000000 -0400
@@ -283,7 +283,7 @@ int set_attr(const char *file, struct ho
}
}
- if(attrs->ia_valid & HOSTFS_ATTR_CTIME) ;
+ /* Note: ctime is not handled */
if(attrs->ia_valid & (HOSTFS_ATTR_ATIME | HOSTFS_ATTR_MTIME)){
err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL,
&attrs->ia_atime, &attrs->ia_mtime, NULL,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists