]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: track filehandle aliasing in nfs4_files
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 16 Apr 2021 18:00:16 +0000 (14:00 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 19 Apr 2021 20:41:36 +0000 (16:41 -0400)
commit19716263adef5c813d139e7d349936b156562219
tree3113a0c813c596d7a4c23b23b04c91cabb92e10c
parentccef78b824de149b0ac6661cc44af81de2587a3d
nfsd: track filehandle aliasing in nfs4_files

It's unusual but possible for multiple filehandles to point to the same
file.  In that case, we may end up with multiple nfs4_files referencing
the same inode.

For delegation purposes it will turn out to be useful to flag those
cases.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h