mirror_zfs/cmd
Brian Behlendorf ec49a5f0ec Fix getcwd() warning
New versions glibc declare getcwd() with the warn_unused_result attribute.
This results in a warning because the updated mount helper was not
checking this return value.  This issue was fixed by checking the return
type and in the case of an error simply returning the passed dataset.
One possible, but unlikely, error would be having your cwd directory
unlinked while the mount command was running.

  cmd/mount_zfs/mount_zfs.c: In function ‘parse_dataset’:
  cmd/mount_zfs/mount_zfs.c:223:2: error: ignoring return value of
      ‘getcwd’, declared with attribute warn_unused_result
2011-03-18 13:54:49 -07:00
..
mount_zfs Fix getcwd() warning 2011-03-18 13:54:49 -07:00
zdb Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zfs Fix mount helper 2011-03-09 15:26:48 -08:00
zinject Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zpios Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zpool Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zpool_id Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zpool_layout Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
ztest Linux 2.6.38 compat, blkdev_get_by_path() 2011-02-23 12:29:38 -08:00
zvol_id Add xvattr support 2011-03-02 11:43:50 -08:00
Makefile.am Fix mount helper 2011-03-09 15:26:48 -08:00
Makefile.in Fix mount helper 2011-03-09 15:26:48 -08:00