]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - Documentation/filesystems/vfs.txt
Merge tag 'leds_for_4.10_email_update' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / Documentation / filesystems / vfs.txt
index 3893f4d44cd46e0c7b9579fad48638a0fe359960..b968084eeac14bbc4f8f51dbf7fc3484f61da496 100644 (file)
@@ -451,9 +451,6 @@ otherwise noted.
        exist; this is checked by the VFS.  Unlike plain rename,
        source and target may be of different type.
 
-  readlink: called by the readlink(2) system call. Only required if
-       you want to support reading symbolic links
-
   get_link: called by the VFS to follow a symbolic link to the
        inode it points to.  Only required if you want to support
        symbolic links.  This method returns the symlink body
@@ -468,6 +465,12 @@ otherwise noted.
        argument.  If request can't be handled without leaving RCU mode,
        have it return ERR_PTR(-ECHILD).
 
+  readlink: this is now just an override for use by readlink(2) for the
+       cases when ->get_link uses nd_jump_link() or object is not in
+       fact a symlink.  Normally filesystems should only implement
+       ->get_link for symlinks and readlink(2) will automatically use
+       that.
+
   permission: called by the VFS to check for access rights on a POSIX-like
        filesystem.