projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proc: fix NULL dereference when reading /proc/<pid>/auxv
[cascardo/linux.git]
/
fs
/
coda
/
inode.c
diff --git
a/fs/coda/inode.c
b/fs/coda/inode.c
index
57e81cb
..
71dbe7e
100644
(file)
--- a/
fs/coda/inode.c
+++ b/
fs/coda/inode.c
@@
-271,7
+271,7
@@
int coda_setattr(struct dentry *de, struct iattr *iattr)
memset(&vattr, 0, sizeof(vattr));
- inode->i_ctime =
CURRENT_TIME_SEC
;
+ inode->i_ctime =
current_time(inode)
;
coda_iattr_to_vattr(iattr, &vattr);
vattr.va_type = C_VNON; /* cannot set type */