Skip to content

Commit 074839b

Browse files
Update src/XrdCeph/XrdCephPosix.cc
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 0ccfa06 commit 074839b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/XrdCeph/XrdCephPosix.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ int ceph_posix_open(XrdOucEnv* env, const char *pathname, int flags, mode_t mode
682682
}
683683
else{
684684
std::string pathstr(pathname);
685-
if (maxSubstringLength(pathstr, '/') > 254){
685+
if (maxSubstringLength(pathstr, '/') > 255){
686686
logwrapper((char*)"file/subpath name too long");
687687
return -ENAMETOOLONG;
688688
}

0 commit comments

Comments
 (0)