zattr_show: check if zattr->s_op are present
If a zio object declares a set of read only attributes and it doesn't need s_op->info_get(), it can avoid the s_op assignment, so zattr_show now checks if s_op is defined before calling it. Signed-off-by:Federico Vaga <federico.vaga@gmail.com> Acked-by:
Alessandro Rubini <rubini@gnudd.com>
Please register or sign in to comment