diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-04-21 01:10:52 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-05-18 14:58:22 +0200 |
commit | 47d9c7cc457adc5d6d8ca966482a51459f81e852 (patch) | |
tree | 5022fd69ab92a6f522b55ddb69b9ea2b22d84590 /lib/parman.c | |
parent | fsnotify: introduce marks iteration helpers (diff) | |
download | linux-47d9c7cc457adc5d6d8ca966482a51459f81e852.tar.xz linux-47d9c7cc457adc5d6d8ca966482a51459f81e852.zip |
fsnotify: generalize iteration of marks by object type
Make some code that handles marks of object types inode and vfsmount
generic, so it can handle other object types.
Introduce fsnotify_foreach_obj_type macro to iterate marks by object type
and fsnotify_iter_{should|set}_report_type macros to set/test report_mask.
This is going to be used for adding mark of another object type
(super block mark).
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions