summaryrefslogtreecommitdiffstats
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-09-23 23:28:35 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-10-07 02:08:26 +0200
commitd5e66348bbe39dc78509e7561f7252aa443df8c0 (patch)
tree7e67858cbc6968d39c17e55499d11d24a958cdab /fs/anon_inodes.c
parentLinux 2.6.27-rc9 (diff)
downloadlinux-d5e66348bbe39dc78509e7561f7252aa443df8c0.tar.xz
linux-d5e66348bbe39dc78509e7561f7252aa443df8c0.zip
NFS: Fix nfs_file_llseek()
After the BKL removal patches were applied to the rest of the NFS code, the BKL protection in nfs_file_llseek() is no longer sufficient to ensure that inode->i_size is read safely in generic_file_llseek_unlocked(). In order to fix the situation, we either have to replace the naked read of inode->i_size in generic_file_llseek_unlocked() with i_size_read(), or the whole thing needs to be executed under the inode->i_lock; In order to avoid disrupting other filesystems, avoid touching generic_file_llseek_unlocked() for now... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions