Report poll data/space availability only if more than frag size is available
commit237fd97c09426686bfd59254dafc2fdfa0874d0b
authorTejun Heo <tj@kernel.org>
Wed, 17 Feb 2010 09:25:34 +0000 (17 18:25 +0900)
committerTejun Heo <tj@kernel.org>
Wed, 17 Feb 2010 09:28:49 +0000 (17 18:28 +0900)
tree89646f1668d939f544d182c3dafe6b721cb95541
parent9d0e4722c1eaae0dbf593713029d1aab7ce11597
Report poll data/space availability only if more than frag size is available

Unit of data consumption should be user visible frag size and poll
shouldn't report availability only if at least one full frag size is
available.  Fix it.

Reported by Maarten and tested in osstest.
ossp-padsp.c