aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-12-15 18:38:10 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-12-15 18:44:36 -0500
commit6c52961743f38747401b47127b82159ab6d8a7a4 (patch)
treecfc3ba22db14f6402e567b70cad424ffd43545a6 /net
parent652f89f64fabcdae9143ee2b4253cfa838fb0279 (diff)
NFS: Fix a regression in nfs_file_llseek()
After commit 06222e491e663dac939f04b125c9dc52126a75c4 (fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek) the behaviour of llseek() was changed so that it always revalidates the file size. The bug appears to be due to a logic error in the afore-mentioned commit, which always evaluates to 'true'. Reported-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org [>=3.1]
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions