# Re: \[RFC 0/3\] fs,epoll: Add ability to call kcmp to find target files

- From: Cyrill Gorcunov \<hidden\>
- Date: 2017-02-21 20:54:38 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2017/02/117390
- Thread: https://ratatoskr.run/linux-fsdevel/2017/02/117392/t.md

```text
On Tue, Feb 21, 2017 at 03:32:21PM -0500, Jason Baron wrote:
> Hi,
> 
> Since an epoll fd can be added to another epoll fd, I'm wondering if you
> have enough data here to figure that out. The inode is the
> 'anon_inode_inode', so I'm wondering if that is sufficient to distinguish it
> from other anonymous inodes, or if an extra bit is required to indicate if
> the target file is in fact and epoll fd.

I think it should be ebough (together with sdev and pos). But will
look more closely tomorrow once I sit implementing criu support :)
(that's why it is early rfc, to gather comments)
```
