|
@@ -436,16 +436,18 @@ otherwise noted.
|
|
|
|
|
|
follow_link: called by the VFS to follow a symbolic link to the
|
|
follow_link: called by the VFS to follow a symbolic link to the
|
|
inode it points to. Only required if you want to support
|
|
inode it points to. Only required if you want to support
|
|
- symbolic links. This method returns a void pointer cookie
|
|
|
|
- that is passed to put_link().
|
|
|
|
|
|
+ symbolic links. This method returns the symlink body
|
|
|
|
+ to traverse (and possibly resets the current position with
|
|
|
|
+ nd_jump_link()). If the body won't go away until the inode
|
|
|
|
+ is gone, nothing else is needed; if it needs to be otherwise
|
|
|
|
+ pinned, the data needed to release whatever we'd grabbed
|
|
|
|
+ is to be stored in void * variable passed by address to
|
|
|
|
+ follow_link() instance.
|
|
|
|
|
|
put_link: called by the VFS to release resources allocated by
|
|
put_link: called by the VFS to release resources allocated by
|
|
- follow_link(). The cookie returned by follow_link() is passed
|
|
|
|
- to this method as the last parameter. It is used by
|
|
|
|
- filesystems such as NFS where page cache is not stable
|
|
|
|
- (i.e. page that was installed when the symbolic link walk
|
|
|
|
- started might not be in the page cache at the end of the
|
|
|
|
- walk).
|
|
|
|
|
|
+ follow_link(). The cookie stored by follow_link() is passed
|
|
|
|
+ to this method as the last parameter; only called when
|
|
|
|
+ cookie isn't NULL.
|
|
|
|
|
|
permission: called by the VFS to check for access rights on a POSIX-like
|
|
permission: called by the VFS to check for access rights on a POSIX-like
|
|
filesystem.
|
|
filesystem.
|