From 156432bea91f5ffc5aa309c75fa6a76275c16b0a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Hamb=C3=BCchen?= Date: Tue, 4 May 2021 04:58:06 +0200 Subject: [PATCH] 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 --- src/pybind/cephfs/cephfs.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.47.3