projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1466abf
)
uml: remove unneeded if from hostfs
author
Jeff Dike
<jdike@addtoit.com>
Tue, 16 Oct 2007 08:27:13 +0000
(
01:27
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:06 +0000
(09:43 -0700)
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>
fs/hostfs/hostfs_user.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/hostfs/hostfs_user.c
b/fs/hostfs/hostfs_user.c
index 5625e2481dd31b56f95a8532119501519331b739..d8d54af1b497140d76dfe384c0f96750cbefd9b8 100644
(file)
--- 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)
}
}
- 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,