Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-6693

object_update_param_get inconsistent return value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Lustre 2.8.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Recent patch http://review.whamcloud.com/14787 added a code to object_update_param_get that returns PTR_ERR. But before it only returned NUL on error which all callers expect.
      Now every caller is broken as they don't expect non NULL errors.

      E.g. in out_xattr_set, out_read (twice). in target/out_handler.c

      I think we need to convert object_update_param_get back to returning just NULL on error.

      Attachments

        Activity

          People

            di.wang Di Wang
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: