diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2017-06-01 14:34:42 +0300 |
---|---|---|
committer | Andrei Vagin <avagin@virtuozzo.com> | 2018-03-02 09:15:28 +0300 |
commit | 6d40803eea3a5e41533d69e8c521097e658384cd (patch) | |
tree | 81a11dfde18636ee4ff7a8b184394cdac711eb90 /images/fdinfo.proto | |
parent | 8fdacca5274d8b6e1dead7bb8e865904b15fb365 (diff) |
autofs: Add FD_TYPES__AUTOFS_PIPE type
Add a fake fd type for autofs. This allows functions
like find_file_desc() work as expected, without
having two different file_desc with the same type
and same id.
Also, later, it will allow to delete autofs_create_fle()
and to use generic helper.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'images/fdinfo.proto')
-rw-r--r-- | images/fdinfo.proto | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/images/fdinfo.proto b/images/fdinfo.proto index 0a6f3ee74..3d4e50701 100644 --- a/images/fdinfo.proto +++ b/images/fdinfo.proto @@ -36,6 +36,9 @@ enum fd_types { TUNF = 15; EXT = 16; TIMERFD = 17; + + /* Any number above the real used. Not stored to image */ + AUTOFS_PIPE = 65535; } message fdinfo_entry { |