diff options
author | Wendy Cheng <wcheng@redhat.com> | 2008-01-17 17:10:12 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-04-25 19:00:11 +0200 |
commit | 17efa372cfe4d189705edf6cd4fbe283827a5dc7 (patch) | |
tree | dcf10b96b079fff6edebbf451a32608ce6032663 /fs/lockd/svclock.c | |
parent | lockd: unlock lockd locks associated with a given server ip (diff) | |
download | linux-17efa372cfe4d189705edf6cd4fbe283827a5dc7.tar.xz linux-17efa372cfe4d189705edf6cd4fbe283827a5dc7.zip |
lockd: unlock lockd locks held for a certain filesystem
Add /proc/fs/nfsd/unlock_filesystem, which allows e.g.:
shell> echo /mnt/sfs1 > /proc/fs/nfsd/unlock_filesystem
so that a filesystem can be unmounted before allowing a peer nfsd to
take over nfs service for the filesystem.
Signed-off-by: S. Wendy Cheng <wcheng@redhat.com>
Cc: Lon Hohberger <lhh@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/svcsubs.c | 66 +++++++++++++++++++++++++++++++++++++++-----
fs/nfsd/nfsctl.c | 65 +++++++++++++++++++++++++++++++++++++++++++
include/linux/lockd/lockd.h | 7 ++++
3 files changed, 131 insertions(+), 7 deletions(-)
Diffstat (limited to 'fs/lockd/svclock.c')
0 files changed, 0 insertions, 0 deletions