Home
last modified time | relevance | path

Searched hist:"3 dd98a3bccb1bdd30b8a4a755e7bead1b64160ec" (Results 1 – 2 of 2) sorted by relevance

/linux/fs/nfsd/
H A Dnfsctl.cdiff 3dd98a3bccb1bdd30b8a4a755e7bead1b64160ec Tue Jun 10 14:40:36 CEST 2008 Jeff Layton <jlayton@redhat.com> knfsd: clean up nfsd filesystem interfaces

Several of the nfsd filesystem interfaces allow changes to parameters
that don't have any effect on a running nfsd service. They are only ever
checked when nfsd is started. This patch fixes it so that changes to
those procfiles return -EBUSY if nfsd is already running to make it
clear that changes on the fly don't work.

The patch should also close some relatively harmless races between
changing the info in those interfaces and starting nfsd, since these
variables are being moved under the protection of the nfsd_mutex.

Finally, the nfsv4recoverydir file always returns -EINVAL if read. This
patch fixes it to return the recoverydir path as expected.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
H A Dnfs4state.cdiff 3dd98a3bccb1bdd30b8a4a755e7bead1b64160ec Tue Jun 10 14:40:36 CEST 2008 Jeff Layton <jlayton@redhat.com> knfsd: clean up nfsd filesystem interfaces

Several of the nfsd filesystem interfaces allow changes to parameters
that don't have any effect on a running nfsd service. They are only ever
checked when nfsd is started. This patch fixes it so that changes to
those procfiles return -EBUSY if nfsd is already running to make it
clear that changes on the fly don't work.

The patch should also close some relatively harmless races between
changing the info in those interfaces and starting nfsd, since these
variables are being moved under the protection of the nfsd_mutex.

Finally, the nfsv4recoverydir file always returns -EINVAL if read. This
patch fixes it to return the recoverydir path as expected.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>