From: Tomas Winkler Date: Mon, 2 Sep 2013 00:11:04 +0000 (+0300) Subject: mei: revamp read and write length checks X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~65^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd5de1f165ade430357960459491a067c7e3d21c;p=pandora-kernel.git mei: revamp read and write length checks 1. Return zero on zero length read and writes 2. For a too large write return -EFBIG as defined in man write(2) EFBIG An attempt was made to write a file that exceeds the implementation-defined maximum file size or the process's file size limit, or to write at a position past the maximum allowed offset. Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed