[patch 6/8] fs, eventfd: Add procfs fdinfo helper

2012-08-15 Thread Cyrill Gorcunov
This allow us to print out raw counter value. The /proc/pid/fdinfo/fd output is | pos: 0 | flags: 04002 | eventfd-count: 5a Signed-off-by: Cyrill Gorcunov CC: Pavel Emelyanov CC: Al Viro CC: Alexey Dobriyan CC: Andrew Morton CC: James Bottomley --- fs/eventfd.c |

[patch 6/8] fs, eventfd: Add procfs fdinfo helper

2012-08-15 Thread Cyrill Gorcunov
This allow us to print out raw counter value. The /proc/pid/fdinfo/fd output is | pos: 0 | flags: 04002 | eventfd-count: 5a Signed-off-by: Cyrill Gorcunov gorcu...@openvz.org CC: Pavel Emelyanov xe...@parallels.com CC: Al Viro v...@zeniv.linux.org.uk CC: Alexey Dobriyan