Cyrill Gorcunov
e73f99300d
fsnotify: Extend fsnotify_file_info to carry fanotify file entries
...
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:40 +04:00
Cyrill Gorcunov
67ccef7e1b
fsnotify: Rename inotify_file_info to fsnotify_file_info
...
It will carry fanotify file entries as well.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:39 +04:00
Cyrill Gorcunov
abdadb51b3
fsnotify: Extend fsnotify_mark_info to carry fanotify marks
...
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:37 +04:00
Cyrill Gorcunov
6472bdf545
fsnotify: Rename inotify_wd_info structure to fsnotify_mark_info
...
This structure will carry mark of any type.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:36 +04:00
Cyrill Gorcunov
be534b9ecc
fsnotify: Move debug printing into get_mark_path
...
This prints out more details on what is going on.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:35 +04:00
Cyrill Gorcunov
5425da0b61
fanotify: Introduce get_mark_path helper
...
We will use it for fanotify objects restore, so to
eliminate code duplication make a separate helper.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:34 +04:00
Cyrill Gorcunov
f385d32da5
image: fanotify -- Add scaffold code for fanotify objects
...
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:32 +04:00
Cyrill Gorcunov
78259da381
fsnotify: Add is_fanotify_link helper
...
Will need it to dump fanotify objects.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:30 +04:00
Cyrill Gorcunov
b724096f0f
fsnotify: Rename inotify files to fsnotify
...
We will be handling both inotify and fanotify
objects here thus to make less confusion rename
the files to fsnotify.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org >
Signed-off-by: Pavel Emelyanov <xemul@parallels.com >
2013-01-15 18:34:26 +04:00