orangefs: rename most remaining global variables
Only op_timeout_secs, slot_timeout_secs, and hash_table_size are left because they are exposed as module parameters. All other global variables have the orangefs_ prefix. Signed-off-by: Martin Brandenburg <martin@omnibond.com>
This commit is contained in:
@@ -72,7 +72,7 @@ static int orangefs_create(struct inode *dir,
|
||||
|
||||
d_instantiate(dentry, inode);
|
||||
unlock_new_inode(inode);
|
||||
dentry->d_time = jiffies + dcache_timeout_msecs*HZ/1000;
|
||||
dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000;
|
||||
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;
|
||||
}
|
||||
|
||||
dentry->d_time = jiffies + dcache_timeout_msecs*HZ/1000;
|
||||
dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000;
|
||||
|
||||
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);
|
||||
dentry->d_time = jiffies + dcache_timeout_msecs*HZ/1000;
|
||||
dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000;
|
||||
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);
|
||||
dentry->d_time = jiffies + dcache_timeout_msecs*HZ/1000;
|
||||
dentry->d_time = jiffies + orangefs_dcache_timeout_msecs*HZ/1000;
|
||||
ORANGEFS_I(inode)->getattr_time = jiffies - 1;
|
||||
|
||||
gossip_debug(GOSSIP_NAME_DEBUG,
|
||||
|
Reference in New Issue
Block a user