From: Takashi Iwai Date: Tue, 13 Apr 2010 09:33:54 +0000 (+0200) Subject: ALSA: info - Check file position validity in common layer X-Git-Tag: v2.6.35-rc1~478^2~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d97e1b78239c7e7e441088e0b644bd3b076002e6;p=pandora-kernel.git ALSA: info - Check file position validity in common layer Check the validity of the file position in the common info layer before calling read or write callbacks in assumption that entry->size is set up properly to indicate the max file size. Removed the redundant checks from the callbacks as well. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed