fanotify: Use inode_is_open_for_write
Use the aptly named function rather than opencoding i_writecount check. No functional changes. Reviewed-by: NJan Kara <jack@suse.cz> Signed-off-by: NNikolay Borisov <nborisov@suse.com> Signed-off-by: NJan Kara <jack@suse.cz>
Showing
想要评论请 注册 或 登录