nfsd: potential ERR_PTR dereference on exp_export() error paths.
authorDan Carpenter <error27@gmail.com>
Thu, 22 Apr 2010 09:30:59 +0000 (11:30 +0200)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 22 Apr 2010 16:03:02 +0000 (12:03 -0400)
commitd03859a4aca3969efd91dc77be7efa2ae45b05d8
treed0cef571e89763223e133315233333bb1a8f128d
parent5771635592267758e7dc5647f2a0088aa6244159
nfsd: potential ERR_PTR dereference on exp_export() error paths.

We "goto finish" from several places where "exp" is an ERR_PTR.  Also I
changed the check for "fsid_key" so that it was consistent with the check
I added.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/export.c