diff options
author | Fred Isaman <iisaman@netapp.com> | 2011-06-15 16:31:02 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-06-15 16:39:23 (GMT) |
commit | ea0ded748bdea78f9e2fefb571f7d6ce9edb4f89 (patch) | |
tree | ce4589aecc27e8936529ce1cbc4d8a129a1f43b2 /fs/compat.c | |
parent | 1ed3a8539af7b36aa5c977f304e80f7fc8d27bfc (diff) | |
download | linux-ea0ded748bdea78f9e2fefb571f7d6ce9edb4f89.tar.xz |
nfs4.1: prevent race that allowed use of freed layout in _pnfs_return_layout
mark_matching_lsegs_invalid could put the last ref to the layout, so
the get_layout_hdr needs to be called first.
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions