projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] ramfs needs to update directory m/ctime on symlink
[deliverable/linux.git]
/
fs
/
ramfs
/
inode.c
diff --git
a/fs/ramfs/inode.c
b/fs/ramfs/inode.c
index cde5d48994ae676806034f232775ef662c0cbd15..14bd2246fb6d3403ad2dbe97c36a3988145a0026 100644
(file)
--- a/
fs/ramfs/inode.c
+++ b/
fs/ramfs/inode.c
@@
-137,6
+137,7
@@
static int ramfs_symlink(struct inode * dir, struct dentry *dentry, const char *
inode->i_gid = dir->i_gid;
d_instantiate(dentry, inode);
dget(dentry);
+ dir->i_mtime = dir->i_ctime = CURRENT_TIME;
} else
iput(inode);
}
This page took
0.024015 seconds
and
5
git commands to generate.