diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 04:27:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:06 -0400 |
commit | baabd156e243e513873417b62e51346ece609934 (patch) | |
tree | 1096cb3a2038ff59ec18ae9a7ef19736cbdffa10 /fs/hostfs | |
parent | 1466abf2d03207b42980ddf8cde1fba17b7cd301 (diff) |
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@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hostfs')
-rw-r--r-- | fs/hostfs/hostfs_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hostfs/hostfs_user.c b/fs/hostfs/hostfs_user.c index 5625e2481dd3..d8d54af1b497 100644 --- a/fs/hostfs/hostfs_user.c +++ b/fs/hostfs/hostfs_user.c | |||
@@ -283,7 +283,7 @@ int set_attr(const char *file, struct hostfs_iattr *attrs, int fd) | |||
283 | } | 283 | } |
284 | } | 284 | } |
285 | 285 | ||
286 | if(attrs->ia_valid & HOSTFS_ATTR_CTIME) ; | 286 | /* Note: ctime is not handled */ |
287 | if(attrs->ia_valid & (HOSTFS_ATTR_ATIME | HOSTFS_ATTR_MTIME)){ | 287 | if(attrs->ia_valid & (HOSTFS_ATTR_ATIME | HOSTFS_ATTR_MTIME)){ |
288 | err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL, | 288 | err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL, |
289 | &attrs->ia_atime, &attrs->ia_mtime, NULL, | 289 | &attrs->ia_atime, &attrs->ia_mtime, NULL, |