OK, ignore the comment above. It's a simple buglet causes when the buffer in the write has a length of zero and we should be checking for that and returning -EINVAL on the invalid write length.
OK, ignore the comment above. It's a simple buglet causes when the buffer in the write has a length of zero and we should be checking for that and returning -EINVAL on the invalid write length.