diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-04-30 17:36:21 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-05-31 00:43:54 +0100 |
commit | 6c24eeef039c3fcc0cd81ec4eead2de869eba383 (patch) | |
tree | 724eb60981228edaf2a8c2e136e752349b2d7abc /drivers/video/omap2 | |
parent | 42bbdb289122169ec6d4f2a4bec848491c4408a7 (diff) |
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 <dan.carpenter@oracle.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/video/omap2')
0 files changed, 0 insertions, 0 deletions