|
@@ -72,6 +72,7 @@ static int orangefs_create(struct inode *dir,
|
|
|
|
|
|
d_instantiate(dentry, inode);
|
|
|
unlock_new_inode(inode);
|
|
|
+ dentry->d_time = jiffies + HZ;
|
|
|
|
|
|
gossip_debug(GOSSIP_NAME_DEBUG,
|
|
|
"%s: dentry instantiated for %s\n",
|
|
@@ -181,6 +182,8 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry,
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
+ dentry->d_time = jiffies + HZ;
|
|
|
+
|
|
|
inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn);
|
|
|
if (IS_ERR(inode)) {
|
|
|
gossip_debug(GOSSIP_NAME_DEBUG,
|
|
@@ -316,6 +319,7 @@ static int orangefs_symlink(struct inode *dir,
|
|
|
|
|
|
d_instantiate(dentry, inode);
|
|
|
unlock_new_inode(inode);
|
|
|
+ dentry->d_time = jiffies + HZ;
|
|
|
|
|
|
gossip_debug(GOSSIP_NAME_DEBUG,
|
|
|
"Inode (Symlink) %pU -> %s\n",
|
|
@@ -378,6 +382,7 @@ static int orangefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode
|
|
|
|
|
|
d_instantiate(dentry, inode);
|
|
|
unlock_new_inode(inode);
|
|
|
+ dentry->d_time = jiffies + HZ;
|
|
|
|
|
|
gossip_debug(GOSSIP_NAME_DEBUG,
|
|
|
"Inode (Directory) %pU -> %s\n",
|