From: Dan Carpenter Date: Mon, 30 Apr 2012 14:36:21 +0000 (+0300) Subject: cifs: fix revalidation test in cifs_llseek() X-Git-Tag: v3.2.19~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c24eeef039c3fcc0cd81ec4eead2de869eba383;p=pandora-kernel.git cifs: fix revalidation test in cifs_llseek() commit 48a5730e5b71201e226ff06e245bf308feba5f10 upstream. This test is always true so it means we revalidate the length every time, which generates more network traffic. When it is SEEK_SET or SEEK_CUR, then we don't need to revalidate. Signed-off-by: Dan Carpenter Reviewed-by: Jeff Layton Signed-off-by: Steve French Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed