Whamcloud - gitweb
LU-3892 ofd: setattr doesn't need to return attributes 72/7672/2
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Mon, 16 Sep 2013 17:11:09 +0000 (21:11 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Sep 2013 03:57:05 +0000 (03:57 +0000)
commit7f4a63540a6f84428fd0fc8017c71854e45dcc2d
tree38e5889cf2f5410c3a953e2b42bdfaf4d5f55c0b
parent548b8ea916625b3697b0e0d0abfc330b4c954633
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