mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
Merge PR #32548 into master
* refs/pull/32548/head: libcephfs: fix documentation for ceph_seekdir offset client: propagate -ENOTCONN errors for ll_releasedir Reviewed-by: Jeff Layton <jlayton@redhat.com>
This commit is contained in:
commit
15f8db42ad
@ -615,7 +615,7 @@ int64_t ceph_telldir(struct ceph_mount_info *cmount, struct ceph_dir_result *dir
|
||||
* @param cmount the ceph mount handle to use for performing the seekdir.
|
||||
* @param dirp the directory stream pointer to move.
|
||||
* @param offset the position to move the directory stream to. This offset should be
|
||||
* a value returned by seekdir. Note that this value does not refer to the nth
|
||||
* a value returned by telldir. Note that this value does not refer to the nth
|
||||
* entry in a directory, and can not be manipulated with plus or minus.
|
||||
*/
|
||||
void ceph_seekdir(struct ceph_mount_info *cmount, struct ceph_dir_result *dirp, int64_t offset);
|
||||
|
@ -1801,8 +1801,7 @@ extern "C" int ceph_ll_opendir(class ceph_mount_info *cmount,
|
||||
extern "C" int ceph_ll_releasedir(class ceph_mount_info *cmount,
|
||||
ceph_dir_result *dir)
|
||||
{
|
||||
(void) cmount->get_client()->ll_releasedir(reinterpret_cast<dir_result_t*>(dir));
|
||||
return (0);
|
||||
return cmount->get_client()->ll_releasedir(reinterpret_cast<dir_result_t*>(dir));
|
||||
}
|
||||
|
||||
extern "C" int ceph_ll_rename(class ceph_mount_info *cmount,
|
||||
|
Loading…
Reference in New Issue
Block a user