diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-12-15 18:38:10 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-06 14:17:06 -0800 |
commit | 4030564c1503d782139279e6741c819acbb0fb8f (patch) | |
tree | 1465b213bf4f8543475ac1f09f3f0c625a96abdc /lib/locking-selftest-rlock-softirq.h | |
parent | 9aeeebb28c4bd8c3a2382ff909e82989d22b97a1 (diff) |
NFS: Fix a regression in nfs_file_llseek()
commit 6c52961743f38747401b47127b82159ab6d8a7a4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions