fs: Catch pioctl failure in mkmount
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 26 Feb 2013 11:55:32 +0000 (11:55 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Tue, 26 Feb 2013 15:22:31 +0000 (07:22 -0800)
commit3ad7ba106dea28277b9e1f7a7370ba17b9fb3d17
treea7229d4f351344a9e5938a55d78b36553acefd60
parent99929488511d13dab94491cac1d477062f9da741
fs: Catch pioctl failure in mkmount

If the VIOC_FILE_CELL_NAME pioctl fails in fs mkmount, return an
error to the caller, instead of ploughing on with potentially bad
data.

Caught by coverity (#988418)

Change-Id: I68df5dd26d955db860dd016c76109f7d262bad17
Reviewed-on: http://gerrit.openafs.org/9267
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/venus/fs.c