Skip to content

Commit baabd15

Browse files
cfd-36Linus Torvalds
authored andcommitted
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>
1 parent 1466abf commit baabd15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/hostfs/hostfs_user.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ int set_attr(const char *file, struct hostfs_iattr *attrs, int fd)
283283
}
284284
}
285285

286-
if(attrs->ia_valid & HOSTFS_ATTR_CTIME) ;
286+
/* Note: ctime is not handled */
287287
if(attrs->ia_valid & (HOSTFS_ATTR_ATIME | HOSTFS_ATTR_MTIME)){
288288
err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL,
289289
&attrs->ia_atime, &attrs->ia_mtime, NULL,

0 commit comments

Comments
 (0)