diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-02-20 20:22:40 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-02-24 23:07:50 +0100 |
commit | 47b4948fdb1055cd8d8f86aebb0b3fcb06ba36d5 (patch) | |
tree | 57fb61a4062793df3c85c405b57fd16448969279 /fs/orangefs/dcache.c | |
parent | orangefs: don't d_drop in d_revalidate since the caller will (diff) | |
download | linux-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/dcache.c')
-rw-r--r-- | fs/orangefs/dcache.c | 2 |
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", |