diff options
| author | Martin Brandenburg <martin@omnibond.com> | 2016-08-16 11:38:14 -0400 | 
|---|---|---|
| committer | Martin Brandenburg <martin@omnibond.com> | 2016-08-16 11:41:24 -0400 | 
| commit | 1d503617884ed43af1c03685e73ce23f155d3fa4 (patch) | |
| tree | e576cd8866c2cec6c5e29a75098d27f27e78e90a /fs/orangefs/namei.c | |
| parent | 889d5f1baca698a4510174cdd6a6596997d0deb4 (diff) | |
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>
Diffstat (limited to 'fs/orangefs/namei.c')
| -rw-r--r-- | fs/orangefs/namei.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/fs/orangefs/namei.c b/fs/orangefs/namei.c index 62c525936ee8..35269e31de92 100644 --- 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); -	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, | 
