summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorAmir Goldstein2018-04-21 01:10:52 +0200
committerJan Kara2018-05-18 14:58:22 +0200
commit47d9c7cc457adc5d6d8ca966482a51459f81e852 (patch)
tree5022fd69ab92a6f522b55ddb69b9ea2b22d84590 /virt
parentfsnotify: introduce marks iteration helpers (diff)
downloadkernel-qcow2-linux-47d9c7cc457adc5d6d8ca966482a51459f81e852.tar.gz
kernel-qcow2-linux-47d9c7cc457adc5d6d8ca966482a51459f81e852.tar.xz
kernel-qcow2-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 'virt')
0 files changed, 0 insertions, 0 deletions