diff options
Diffstat (limited to 'fs/orangefs/super.c')
| -rw-r--r-- | fs/orangefs/super.c | 13 | 
1 files changed, 7 insertions, 6 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c index 10796d3fe27d..dfaee90d30bd 100644 --- a/fs/orangefs/super.c +++ b/fs/orangefs/super.c @@ -156,9 +156,10 @@ static int orangefs_statfs(struct dentry *dentry, struct kstatfs *buf)  	sb = dentry->d_sb;  	gossip_debug(GOSSIP_SUPER_DEBUG, -		     "orangefs_statfs: called on sb %p (fs_id is %d)\n", -		     sb, -		     (int)(ORANGEFS_SB(sb)->fs_id)); +			"%s: called on sb %p (fs_id is %d)\n", +			__func__, +			sb, +			(int)(ORANGEFS_SB(sb)->fs_id));  	new_op = op_alloc(ORANGEFS_VFS_OP_STATFS);  	if (!new_op) @@ -198,7 +199,7 @@ static int orangefs_statfs(struct dentry *dentry, struct kstatfs *buf)  out_op_release:  	op_release(new_op); -	gossip_debug(GOSSIP_SUPER_DEBUG, "orangefs_statfs: returning %d\n", ret); +	gossip_debug(GOSSIP_SUPER_DEBUG, "%s: returning %d\n", __func__, ret);  	return ret;  } @@ -423,8 +424,8 @@ static int orangefs_fill_sb(struct super_block *sb,  	sb->s_op = &orangefs_s_ops;  	sb->s_d_op = &orangefs_dentry_operations; -	sb->s_blocksize = orangefs_bufmap_size_query(); -	sb->s_blocksize_bits = orangefs_bufmap_shift_query(); +	sb->s_blocksize = PAGE_SIZE; +	sb->s_blocksize_bits = PAGE_SHIFT;  	sb->s_maxbytes = MAX_LFS_FILESIZE;  	root_object.khandle = ORANGEFS_SB(sb)->root_khandle;  |