PMFS: Fix error handling in pmfs_mknod()

This change fixes a bug in pmfs_mknod where the return value
of pmfs_new_inode was checked wrongly for error.

Signed-off-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
PMFS: Fix error handling in pmfs_symlink()

This change fixes a bug in pmfs_symlink, where on an error from
pmfs_add_nondir, pmfs_setsize was incorrectly called. pmfs_setsize doesn't need
to be called because the inode and all its data blocks have been freed by
pmfs_add_nondir itself on an error.

Signed-off-by: Sanjay Kumar <sanjay.k.kumar@intel.com>
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>