afr_set_splitbrain is confusing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi, all
    When I was reading the function:
afr_set_split_brain (xlator_t *this, inode_t *inode, gf_boolean_t set)
   I found that  "set" in  function name and "set" as a bool parameter were quite confusing.

  So I tracked down to :
afr_inode_ctx_set_splitbrain (afr_inode_ctx_t *ctx, gf_boolean_t set) 
  After I read the code, I finally got it.

  Could we have other choices, what about add a unset function?

Best Regards.

Jules Wang.



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux