Dan Carpenter 907bfcd8d8 orangefs: handle zero size write in debugfs
If we write zero bytes to this debugfs file, then it will cause an
underflow when we do copy_from_user(buf, ubuf, count - 1).  Debugfs can
normally only be written to by root so the impact of this is low.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
2017-04-26 14:33:01 -04:00
..
2016-10-24 14:50:07 -04:00
2017-04-26 14:33:00 -04:00
2017-04-26 14:33:00 -04:00
2015-10-03 11:40:00 -04:00
2017-04-26 14:33:00 -04:00
2016-08-12 15:12:54 -04:00
2017-04-26 14:33:00 -04:00