diff options
author | Gabriel Krisman Bertazi <krisman@collabora.com> | 2021-10-25 16:27:21 -0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-10-27 12:33:21 +0200 |
commit | 8299212cbdb01a5867e230e961f82e5c02a6de34 (patch) | |
tree | 1faf1185368af09913515c72e5042266a93deaf2 /fs/notify/inotify/inotify_user.c | |
parent | b9928e80dda84b349ba8de01780b9bef2fc36ffa (diff) |
fanotify: Split fsid check from other fid mode checks
FAN_FS_ERROR will require fsid, but not necessarily require the
filesystem to expose a file handle. Split those checks into different
functions, so they can be used separately when setting up an event.
While there, update a comment about tmpfs having 0 fsid, which is no
longer true.
Link: https://lore.kernel.org/r/20211025192746.66445-7-krisman@collabora.com
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/inotify/inotify_user.c')
0 files changed, 0 insertions, 0 deletions