We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c59a899 commit dcb2cb1Copy full SHA for dcb2cb1
Documentation/filesystems/vfs.txt
@@ -463,6 +463,12 @@ otherwise noted.
463
argument. If request can't be handled without leaving RCU mode,
464
have it return ERR_PTR(-ECHILD).
465
466
+ If the filesystem stores the symlink target in ->i_link, the
467
+ VFS may use it directly without calling ->get_link(); however,
468
+ ->get_link() must still be provided. ->i_link must not be
469
+ freed until after an RCU grace period. Writing to ->i_link
470
+ post-iget() time requires a 'release' memory barrier.
471
+
472
readlink: this is now just an override for use by readlink(2) for the
473
cases when ->get_link uses nd_jump_link() or object is not in
474
fact a symlink. Normally filesystems should only implement
0 commit comments