diff options
author | Sha Zhengju <handai.szj@taobao.com> | 2012-05-31 16:26:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-31 17:49:32 -0700 |
commit | ee62c6b2dc93c09585b51fad18449dc5edb9977f (patch) | |
tree | 538f5338f6a00d1a4cee9e69ba74082747a452aa /fs/compat.c | |
parent | 71ca97da9d027009d318d319cbacf54a72f666c1 (diff) | |
download | linux-stable-ee62c6b2dc93c09585b51fad18449dc5edb9977f.tar.gz linux-stable-ee62c6b2dc93c09585b51fad18449dc5edb9977f.tar.bz2 linux-stable-ee62c6b2dc93c09585b51fad18449dc5edb9977f.zip |
eventfd: change int to __u64 in eventfd_signal()
eventfd_ctx->count is an __u64 counter which is allowed to reach
ULLONG_MAX. eventfd_write() adds a __u64 value to "count", but the kernel
side eventfd_signal() only adds an int value to it. Make them consistent.
[akpm@linux-foundation.org: update interface documentation]
Signed-off-by: Sha Zhengju <handai.szj@taobao.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions