aboutsummaryrefslogtreecommitdiff
path: root/kernel/srcu.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-01-25 15:28:21 -0500
committerPaul Gortmaker <paul.gortmaker@windriver.com>2012-03-14 10:57:23 -0400
commit0435c7f0719a6e7f372d405dee61728058409ca1 (patch)
treedea0342569119433c67f87a85708e76833350acd /kernel/srcu.c
parentfa0d92b081deb58ba6d60fa99c665a418808d129 (diff)
NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount
commit 27dc1cd3ad9300f81e1219e5fc305d91d85353f8 upstream. If the call to nfs_wcc_update_inode() results in an attribute update, we need to ensure that the inode's attr_gencount gets bumped too, otherwise we are not protected against races with other GETATTR calls. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions