projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'char-misc-4.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[cascardo/linux.git]
/
fs
/
orangefs
/
namei.c
diff --git
a/fs/orangefs/namei.c
b/fs/orangefs/namei.c
index
d15d3d2
..
a290ff6
100644
(file)
--- a/
fs/orangefs/namei.c
+++ b/
fs/orangefs/namei.c
@@
-72,7
+72,7
@@
static int orangefs_create(struct inode *dir,
d_instantiate(dentry, inode);
unlock_new_inode(inode);
d_instantiate(dentry, inode);
unlock_new_inode(inode);
-
dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000
;
+
orangefs_set_timeout(dentry)
;
ORANGEFS_I(inode)->getattr_time = jiffies - 1;
gossip_debug(GOSSIP_NAME_DEBUG,
ORANGEFS_I(inode)->getattr_time = jiffies - 1;
gossip_debug(GOSSIP_NAME_DEBUG,
@@
-183,7
+183,7
@@
static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry,
goto out;
}
goto out;
}
-
dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000
;
+
orangefs_set_timeout(dentry)
;
inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn);
if (IS_ERR(inode)) {
inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn);
if (IS_ERR(inode)) {
@@
-322,7
+322,7
@@
static int orangefs_symlink(struct inode *dir,
d_instantiate(dentry, inode);
unlock_new_inode(inode);
d_instantiate(dentry, inode);
unlock_new_inode(inode);
-
dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000
;
+
orangefs_set_timeout(dentry)
;
ORANGEFS_I(inode)->getattr_time = jiffies - 1;
gossip_debug(GOSSIP_NAME_DEBUG,
ORANGEFS_I(inode)->getattr_time = jiffies - 1;
gossip_debug(GOSSIP_NAME_DEBUG,
@@
-386,7
+386,7
@@
static int orangefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode
d_instantiate(dentry, inode);
unlock_new_inode(inode);
d_instantiate(dentry, inode);
unlock_new_inode(inode);
-
dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000
;
+
orangefs_set_timeout(dentry)
;
ORANGEFS_I(inode)->getattr_time = jiffies - 1;
gossip_debug(GOSSIP_NAME_DEBUG,
ORANGEFS_I(inode)->getattr_time = jiffies - 1;
gossip_debug(GOSSIP_NAME_DEBUG,