summaryrefslogtreecommitdiff
path: root/fs/orangefs/super.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-02-20 22:22:40 +0300
committerMike Marshall <hubcap@omnibond.com>2016-02-25 01:07:50 +0300
commit47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5 (patch)
tree57fb61a4062793df3c85c405b57fd16448969279 /fs/orangefs/super.c
parentee70fca0bc9a4a85c239e4f08b7ebf8351d2a733 (diff)
downloadlinux-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.tar.xz
orangefs: use ORANGEFS_NAME_LEN everywhere; remove ORANGEFS_NAME_MAX
Signed-off-by: Martin Brandenburg <martin@omnibond.com> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/super.c')
-rw-r--r--fs/orangefs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index 65ddc74e96b6..eac24eb7fe80 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -170,7 +170,7 @@ static int orangefs_statfs(struct dentry *dentry, struct kstatfs *buf)
buf->f_type = sb->s_magic;
memcpy(&buf->f_fsid, &ORANGEFS_SB(sb)->fs_id, sizeof(buf->f_fsid));
buf->f_bsize = new_op->downcall.resp.statfs.block_size;
- buf->f_namelen = ORANGEFS_NAME_LEN;
+ buf->f_namelen = ORANGEFS_NAME_MAX;
buf->f_blocks = (sector_t) new_op->downcall.resp.statfs.blocks_total;
buf->f_bfree = (sector_t) new_op->downcall.resp.statfs.blocks_avail;