summaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-06-17 22:48:28 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-06-24 18:01:00 +0200
commit916ec34d0bafe95b977908acd8b3153c9df6f9d6 (patch)
tree04c046d249b55cf11ee5cbc7f0108d67b9a606c9 /fs/mpage.c
parentNFS: Don't let readdirplus revalidate an inode that was marked as stale (diff)
downloadlinux-916ec34d0bafe95b977908acd8b3153c9df6f9d6.tar.xz
linux-916ec34d0bafe95b977908acd8b3153c9df6f9d6.zip
NFS: Fix potential race in nfs_fhget()
If we don't set the mode correctly in nfs_init_locked(), then there is potential for a race with a second call to nfs_fhget that will cause inode aliasing. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions