Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

exportfs: Mark struct export_operations functions at kernel-doc

Adding a `@` before the function names make then recognizable as
kernel-docs, so they get correctly rendered in the documentation.

Even if they are already marked with `@` in the short one-line summary,
the kernel-docs will correctly favor the more detailed definition here.

Signed-off-by: André Almeida <andrealmeid@igalia.com>
Link: https://patch.msgid.link/20260112-tonyk-fs_uuid-v1-2-acc1889de772@igalia.com
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>

authored by

André Almeida and committed by
Christian Brauner
fc76b596 5e7fa6bf

+8 -8
+8 -8
include/linux/exportfs.h
··· 203 203 * See Documentation/filesystems/nfs/exporting.rst for details on how to use 204 204 * this interface correctly. 205 205 * 206 - * encode_fh: 206 + * @encode_fh: 207 207 * @encode_fh should store in the file handle fragment @fh (using at most 208 208 * @max_len bytes) information that can be used by @decode_fh to recover the 209 209 * file referred to by the &struct dentry @de. If @flag has CONNECTABLE bit ··· 215 215 * greater than @max_len*4 bytes). On error @max_len contains the minimum 216 216 * size(in 4 byte unit) needed to encode the file handle. 217 217 * 218 - * fh_to_dentry: 218 + * @fh_to_dentry: 219 219 * @fh_to_dentry is given a &struct super_block (@sb) and a file handle 220 220 * fragment (@fh, @fh_len). It should return a &struct dentry which refers 221 221 * to the same file that the file handle fragment refers to. If it cannot, ··· 227 227 * created with d_alloc_root. The caller can then find any other extant 228 228 * dentries by following the d_alias links. 229 229 * 230 - * fh_to_parent: 230 + * @fh_to_parent: 231 231 * Same as @fh_to_dentry, except that it returns a pointer to the parent 232 232 * dentry if it was encoded into the filehandle fragment by @encode_fh. 233 233 * 234 - * get_name: 234 + * @get_name: 235 235 * @get_name should find a name for the given @child in the given @parent 236 236 * directory. The name should be stored in the @name (with the 237 237 * understanding that it is already pointing to a %NAME_MAX + 1 sized 238 238 * buffer. get_name() should return %0 on success, a negative error code 239 239 * or error. @get_name will be called without @parent->i_rwsem held. 240 240 * 241 - * get_parent: 241 + * @get_parent: 242 242 * @get_parent should find the parent directory for the given @child which 243 243 * is also a directory. In the event that it cannot be found, or storage 244 244 * space cannot be allocated, a %ERR_PTR should be returned. 245 245 * 246 - * permission: 246 + * @permission: 247 247 * Allow filesystems to specify a custom permission function. 248 248 * 249 - * open: 249 + * @open: 250 250 * Allow filesystems to specify a custom open function. 251 251 * 252 - * commit_metadata: 252 + * @commit_metadata: 253 253 * @commit_metadata should commit metadata changes to stable storage. 254 254 * 255 255 * Locking rules: