[Bugs] [Bug 1350406] [storage/posix] - posix_do_futimes function not implemented

bugzilla at redhat.com bugzilla at redhat.com
Mon Jun 27 12:02:25 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1350406

Karthik U S <ksubrahm at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(ksubrahm at redhat.c |
                   |om)                         |



--- Comment #2 from Karthik U S <ksubrahm at redhat.com> ---
Yes I have tested it. I was trying to do the state transition of a file from
normal state to WORM-Retained state with the WRITE fop. While doing this it was
giving this error. The current implementation is as follows:

static int
posix_do_futimes (xlator_t *this,
                  int fd,
                  struct iatt *stbuf)
{
        gf_msg (this->name, GF_LOG_WARNING, ENOSYS, P_MSG_UNKNOWN_OP,
                "function not implemented fd(%d)", fd);

        errno = ENOSYS;
        return -1;
}

I have implemented the function by looking into the posix code. I will be
pushing it for review in a while.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list