mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
vfs: Add name to file handle conversion support
The syscall also return mount id which can be used to lookup file system specific information such as uuid in /proc/<pid>/mountinfo Signed-off-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
f52e0c1130
commit
990d6c2d7a
8 changed files with 139 additions and 2 deletions
12
init/Kconfig
12
init/Kconfig
|
|
@ -287,6 +287,18 @@ config BSD_PROCESS_ACCT_V3
|
|||
for processing it. A preliminary version of these tools is available
|
||||
at <http://www.gnu.org/software/acct/>.
|
||||
|
||||
config FHANDLE
|
||||
bool "open by fhandle syscalls"
|
||||
select EXPORTFS
|
||||
help
|
||||
If you say Y here, a user level program will be able to map
|
||||
file names to handle and then later use the handle for
|
||||
different file system operations. This is useful in implementing
|
||||
userspace file servers, which now track files using handles instead
|
||||
of names. The handle would remain the same even if file names
|
||||
get renamed. Enables open_by_handle_at(2) and name_to_handle_at(2)
|
||||
syscalls.
|
||||
|
||||
config TASKSTATS
|
||||
bool "Export task/process statistics through netlink (EXPERIMENTAL)"
|
||||
depends on NET
|
||||
|
|
|
|||
Loading…
Reference in a new issue