diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-26 11:11:20 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-29 07:27:24 -0800 |
commit | 0c6dda7a1cbd587e48bcef1999875e29549c2b41 (patch) | |
tree | 932813f135f482ab48791b3bb5a5dc61aa510564 /kernel/bpf/arraymap.c | |
parent | 4b4c1326fd7c7210d23d9dd3bfc51f2b6477bb9e (diff) |
iomap: warn on zero-length mappings
Don't let the iomap callback get away with feeding us a garbage zero
length mapping -- there was a bug in xfs that resulted in those leaking
out to hilarious effect.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions