]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: clean up nfs4_open_delegation
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 21 May 2013 20:21:25 +0000 (16:21 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 1 Jul 2013 21:23:07 +0000 (17:23 -0400)
commite40db43a3a4548ebf2d876d8f8958479738396aa
tree05f94ea6fe578931f9a7de3e2e76e0bb8cd93618
parentb967af946a79e6e6c322cc634c577363a2dbe8fa
nfsd4: clean up nfs4_open_delegation

The nfs4_open_delegation logic is unecessarily baroque.

Also stop pretending we support write delegations in several places.

Some day we will support write delegations, but when that happens adding
back in these flag parameters will be the easy part.  For now they're
just confusing.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c