summaryrefslogtreecommitdiff
path: root/fs/orangefs/dcache.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/dcache.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/dcache.c')
-rw-r--r--fs/orangefs/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/dcache.c b/fs/orangefs/dcache.c
index 3c1703fbb60e..2de92b71d861 100644
--- a/fs/orangefs/dcache.c
+++ b/fs/orangefs/dcache.c
@@ -32,7 +32,7 @@ static int orangefs_revalidate_lookup(struct dentry *dentry)
new_op->upcall.req.lookup.parent_refn = parent->refn;
strncpy(new_op->upcall.req.lookup.d_name,
dentry->d_name.name,
- ORANGEFS_NAME_LEN);
+ ORANGEFS_NAME_MAX);
gossip_debug(GOSSIP_DCACHE_DEBUG,
"%s:%s:%d interrupt flag [%d]\n",