summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4recover.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-06-24 07:04:32 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 09:06:36 +0200
commit0964a3d3f1aa96468091924f6b0c391a46dc6d0b (patch)
tree0a6b0587d1922d64ca7e4aa7f306ad869bccf452 /fs/nfsd/nfs4recover.c
parent[PATCH] knfsd: nfsd4: reboot recovery (diff)
downloadlinux-0964a3d3f1aa96468091924f6b0c391a46dc6d0b.tar.xz
linux-0964a3d3f1aa96468091924f6b0c391a46dc6d0b.zip
[PATCH] knfsd: nfsd4 reboot dirname fix
Set the recovery directory via /proc/fs/nfsd/nfs4recoverydir. It may be changed any time, but is used only on startup. Signed-off-by: Andy Adamson <andros@citi.umich.edu> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfsd/nfs4recover.c')
-rw-r--r--fs/nfsd/nfs4recover.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4recover.c b/fs/nfsd/nfs4recover.c
index 2805c5245eac..095f1740f3ae 100644
--- a/fs/nfsd/nfs4recover.c
+++ b/fs/nfsd/nfs4recover.c
@@ -50,7 +50,6 @@
#define NFSDDBG_FACILITY NFSDDBG_PROC
/* Globals */
-char recovery_dirname[PATH_MAX] = "/var/lib/nfs/v4recovery";
static struct nameidata rec_dir;
static int rec_dir_init = 0;