]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/zfs_vfsops.c
Propagate errors when registering "relatime" property callback.
authorTim Chase <tim@chase2k.com>
Tue, 11 Feb 2014 13:34:17 +0000 (07:34 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 12 Feb 2014 17:38:28 +0000 (09:38 -0800)
commit98fad862937cddc3aeb4d527e357cd7265eae91b
tree83243386dff18a01483786564532794cb8e29c27
parent99d3ece84797086407fbb4d94d3817f2dc891af0
Propagate errors when registering "relatime" property callback.

Various errors can occur when registering property callbacks.  As the
author's comments indicate, the code is very paranoid about preserving
the first-seen error when registering callbacks.  This patch causes an
error seen while registering the "relatime" callback to not clobber a
previously-seen error.

Reported-by: Jorgen Lundman <lundman@lundman.net>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2117
module/zfs/zfs_vfsops.c