Whamcloud - gitweb
b=2339
authorzab <zab>
Thu, 11 Dec 2003 19:04:49 +0000 (19:04 +0000)
committerzab <zab>
Thu, 11 Dec 2003 19:04:49 +0000 (19:04 +0000)
commit1631aa82c7f1a9908dfa1b8c4a13d434af05c91b
tree860611f4d470551be0d11b75af8c906c77e7f398
parentdbebe02c53b039f384a2858edf009ed70b0fbde0
b=2339
filter_precreate() was setting the oid returned based on the last_id for the
requested object group, but was always creating objects in group 0 by virtue of
passing NULL in as the obdo to the _next_id functions.  In the process of
fixing this we stop NULLing out the obdo in the loop and get rid of the
_setattr() and obdo_from_inode() which are artifacts from when the client
performed obd_create().

Also some cleanup_phase beautification.
lustre/obdfilter/filter.c