diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2007-08-09 03:53:50 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2007-10-09 18:31:57 -0400 |
commit | 246d95ba051101e515670a1cbe2907a88d360b88 (patch) | |
tree | d4d17a1e4b0d9e9e21f82d01c893707b99a68531 /fs/nfsd | |
parent | dd4877bfb6f09cb4a294b459b354c8fc8fa66904 (diff) |
nfsd warning fix
fs/nfsd/nfsctl.c: In function 'write_filehandle':
fs/nfsd/nfsctl.c:301: warning: 'maxsize' may be used uninitialized in this function
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Acked-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfsctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index d135f5f98519..77dc9893b7ba 100644 --- a/fs/nfsd/nfsctl.c +++ b/fs/nfsd/nfsctl.c | |||
@@ -298,7 +298,7 @@ static ssize_t write_filehandle(struct file *file, char *buf, size_t size) | |||
298 | * qword quoting is used, so filehandle will be \x.... | 298 | * qword quoting is used, so filehandle will be \x.... |
299 | */ | 299 | */ |
300 | char *dname, *path; | 300 | char *dname, *path; |
301 | int maxsize; | 301 | int uninitialized_var(maxsize); |
302 | char *mesg = buf; | 302 | char *mesg = buf; |
303 | int len; | 303 | int len; |
304 | struct auth_domain *dom; | 304 | struct auth_domain *dom; |