From: Niklas Hambüchen Date: Tue, 4 May 2021 02:58:06 +0000 (+0200) Subject: pybind/cephfs: Fix docstring of get_layout X-Git-Tag: v17.1.0~2070^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F41133%2Fhead;p=ceph.git pybind/cephfs: Fix docstring of get_layout It was copy-pasted from another function. Fixed by copy-pasting the docstring from the C docs. Signed-off-by: Niklas Hambuechen --- diff --git a/src/pybind/cephfs/cephfs.pyx b/src/pybind/cephfs/cephfs.pyx index e536fcbe5eb3..e8e8c1f91540 100644 --- a/src/pybind/cephfs/cephfs.pyx +++ b/src/pybind/cephfs/cephfs.pyx @@ -2581,9 +2581,9 @@ cdef class LibCephFS(object): def get_layout(self, fd): """ - Set ceph client session timeout. Must be called before mount. + Get the file layout from an open file descriptor. - :param fd: file descriptor of the file/directory for which to get the layout + :param fd: the open file descriptor referring to the file to get the layout of. """ if not isinstance(fd, int):