libfs: Add directory operations for stable offsets
authorChuck Lever <chuck.lever@oracle.com>
Fri, 30 Jun 2023 17:48:49 +0000 (13:48 -0400)
committerChristian Brauner <brauner@kernel.org>
Wed, 9 Aug 2023 07:15:40 +0000 (09:15 +0200)
commit6faddda69f623d38bb097640689901a4b5ff881a
tree2eee7b05ddca4fe7b338ade9fd9eb45f8be064f7
parent509f006932de7556d48eaa7afcd02dcf1ca9a3e9
libfs: Add directory operations for stable offsets

Create a vector of directory operations in fs/libfs.c that handles
directory seeks and readdir via stable offsets instead of the
current cursor-based mechanism.

For the moment these are unused.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Message-Id: <168814732984.530310.11190772066786107220.stgit@manet.1015granger.net>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/filesystems/locking.rst
Documentation/filesystems/vfs.rst
fs/libfs.c
include/linux/fs.h