Skip to content
Commit 74d42bdb authored by Linus Torvalds's avatar Linus Torvalds
Browse files

fs/pipe: express 'pipe_empty()' in terms of 'pipe_occupancy()'



That's what 'pipe_full()' does, so it's more consistent. But more
importantly it gets the type limits right when the pipe head and tail
are no longer necessarily 'unsigned int'.

Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 848e0763
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment