diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-11-10 09:29:07 -0500 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-11-10 09:29:07 -0500 |
commit | 8a87a0b6313109d2fea87b1271d497c954ce2ca8 (patch) | |
tree | 1b7ae51ff681e27118590e9cab4bf0ce38f5d80e /fs/jfs/namei.c | |
parent | e6a04466ba965875a6132700fabb2f2c0249c41a (diff) | |
parent | 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 (diff) |
Merge by hand (whitespace conflicts in libata.h)
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'fs/jfs/namei.c')
-rw-r--r-- | fs/jfs/namei.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c index 1abe7343f920..4abbe8604302 100644 --- a/fs/jfs/namei.c +++ b/fs/jfs/namei.c | |||
@@ -827,6 +827,7 @@ static int jfs_link(struct dentry *old_dentry, | |||
827 | /* update object inode */ | 827 | /* update object inode */ |
828 | ip->i_nlink++; /* for new link */ | 828 | ip->i_nlink++; /* for new link */ |
829 | ip->i_ctime = CURRENT_TIME; | 829 | ip->i_ctime = CURRENT_TIME; |
830 | dir->i_ctime = dir->i_mtime = CURRENT_TIME; | ||
830 | mark_inode_dirty(dir); | 831 | mark_inode_dirty(dir); |
831 | atomic_inc(&ip->i_count); | 832 | atomic_inc(&ip->i_count); |
832 | 833 | ||
@@ -1024,6 +1025,8 @@ static int jfs_symlink(struct inode *dip, struct dentry *dentry, | |||
1024 | insert_inode_hash(ip); | 1025 | insert_inode_hash(ip); |
1025 | mark_inode_dirty(ip); | 1026 | mark_inode_dirty(ip); |
1026 | 1027 | ||
1028 | dip->i_ctime = dip->i_mtime = CURRENT_TIME; | ||
1029 | mark_inode_dirty(dip); | ||
1027 | /* | 1030 | /* |
1028 | * commit update of parent directory and link object | 1031 | * commit update of parent directory and link object |
1029 | */ | 1032 | */ |