diff options
| -rw-r--r-- | fs/fhandle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/fhandle.c b/fs/fhandle.c index 9ef35f8e8989..b1363ead6c5e 100644 --- a/fs/fhandle.c +++ b/fs/fhandle.c @@ -188,6 +188,11 @@ static int get_path_anchor(int fd, struct path *root) return 0; } + if (fd == FD_PIDFS_ROOT) { + pidfs_get_root(root); + return 0; + } + return -EBADF; } |
