Whamcloud - gitweb
LU-3892 ofd: setattr doesn't need to return attributes
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Mon, 16 Sep 2013 17:11:09 +0000 (21:11 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 30 Oct 2013 21:56:48 +0000 (17:56 -0400)
commite12b89a9e7d8409c2b624162760c2e7e3481d7be
tree9ee09bbafaa2585084afa0b69da37b36c6a2b714
parent4b52a13884fe75cad7d48640fc9cd7e4ce9ca2d1
LU-3892 ofd: setattr doesn't need to return attributes

the root cause of the problem is that getattr finds the
object being already destroyed, so we have transno from
preceeding setattr and -ENOENT from getattr and this
confuses OSP.

there is actually no need in attributes in the reply.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: Ib059a443af164d0def58fdfbf41ab545c057cd10
Reviewed-on: http://review.whamcloud.com/7672
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
lustre/ofd/ofd_obd.c