diff options
author | 2016-06-17 16:48:28 -0400 | |
---|---|---|
committer | 2016-06-24 12:01:00 -0400 | |
commit | 916ec34d0bafe95b977908acd8b3153c9df6f9d6 (patch) | |
tree | 04c046d249b55cf11ee5cbc7f0108d67b9a606c9 /net/unix/af_unix.c | |
parent | NFS: Don't let readdirplus revalidate an inode that was marked as stale (diff) | |
download | linux-dev-916ec34d0bafe95b977908acd8b3153c9df6f9d6.tar.xz linux-dev-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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions