commit | 916ec34d0bafe95b977908acd8b3153c9df6f9d6 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Fri Jun 17 16:48:28 2016 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Fri Jun 24 12:01:00 2016 -0400 |
tree | 04c046d249b55cf11ee5cbc7f0108d67b9a606c9 | |
parent | d8fdb47fae5febc02e62da121f85625244b98b2e [diff] |
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>