diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-02-20 14:22:40 -0500 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-02-24 17:07:50 -0500 |
commit | 47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5 (patch) | |
tree | 57fb61a4062793df3c85c405b57fd16448969279 /fs/orangefs/super.c | |
parent | ee70fca0bc9a4a85c239e4f08b7ebf8351d2a733 (diff) | |
download | linux-stable-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.tar.gz linux-stable-47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5.tar.bz2 linux-stable-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.c | 2 |
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; |