diff options
author | Steve Dickson <SteveD@redhat.com> | 2009-09-09 15:04:48 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-12-04 16:43:28 -0500 |
commit | 03e8f11010cd3b998787971d0e653657ae951167 (patch) | |
tree | 157a4fafb34f7d927840537cc3415c7c60ef85d9 /fs | |
parent | 51028a8b7ec8975c91dbbc15882b145ad015a29c (diff) |
nfsd: increase export interface version
The V4ROOT flag is supposed to make it safe to export filesystems that
would not ordinarily have been exported, by severely restricting which
directories on the filesystem may be accessed.
Before exporting those filesystems, we must have a way for userspace
(mainly mountd) to know whether the kernel supports the new flag. The
kernel has always silently ignored unknown export flags.
So, we bump the export version to signal mountd that the kernel has
pseudo root support.
Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/export.c b/fs/nfsd/export.c index 18ac20ffedd2..cd377a7874a1 100644 --- a/fs/nfsd/export.c +++ b/fs/nfsd/export.c @@ -1508,7 +1508,7 @@ static int e_show(struct seq_file *m, void *p) struct svc_export *exp = container_of(cp, struct svc_export, h); if (p == SEQ_START_TOKEN) { - seq_puts(m, "# Version 1.1\n"); + seq_puts(m, "# Version 1.2\n"); seq_puts(m, "# Path Client(Flags) # IPs\n"); return 0; } |