From: Josef Bacik Date: Mon, 18 Jul 2011 17:21:38 +0000 (-0400) Subject: fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek X-Git-Tag: v3.1-rc1~282^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06222e491e663dac939f04b125c9dc52126a75c4;p=pandora-kernel.git fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek This converts everybody to handle SEEK_HOLE/SEEK_DATA properly. In some cases we just return -EINVAL, in others we do the normal generic thing, and in others we're simply making sure that the properly due-dilligence is done. For example in NFS/CIFS we need to make sure the file size is update properly for the SEEK_HOLE and SEEK_DATA case, but since it calls the generic llseek stuff itself that is all we have to do. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Al Viro --- Reading git-diff-tree failed