diff options
author | Josef Bacik <[email protected]> | 2016-08-10 14:46:27 -0400 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2016-08-11 11:42:08 -0400 |
commit | 502aa0a5be633e6558574ebcf63b65afdfbfcd7a (patch) | |
tree | f1998fcb7817d265fc5ac53fb21db03a80e0a6eb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) |
nfsd: fix dentry refcounting on create
b44061d0b9 introduced a dentry ref counting bug. Previously we were
grabbing one ref to dchild in nfsd_create(), but with the creation of
nfsd_create_locked() we have a ref for dchild from the lookup in
nfsd_create(), and then another ref in nfsd_create_locked(). The ref
from the lookup in nfsd_create() is never dropped and results in
dentries still in use at unmount.
Signed-off-by: Josef Bacik <[email protected]>
Fixes: b44061d0b9 "nfsd: reorganize nfsd_create"
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Acked-by: Al Viro <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions