summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/super.c
diff options
context:
space:
mode:
authorMartin Brandenburg <martin@omnibond.com>2016-02-20 20:22:40 +0100
committerMike Marshall <hubcap@omnibond.com>2016-02-24 23:07:50 +0100
commit47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5 (patch)
tree57fb61a4062793df3c85c405b57fd16448969279 /fs/orangefs/super.c
parentorangefs: don't d_drop in d_revalidate since the caller will (diff)
downloadlinux-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.tar.xz
linux-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.zip
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;