Changeset cde999a in mainline for uspace/srv/fs


Ignore:
Timestamp:
2018-01-04T20:22:51Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d95c9d, 84a1a54
Parents:
3c7702c0
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:22:51)
Message:

Fix comments to stop referring to error codes as negative.

Location:
uspace/srv/fs
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_fat.c

    r3c7702c0 rcde999a  
    7171 * @param max_clusters  Maximum number of clusters to visit.
    7272 *
    73  * @return              EOK on success or a negative error code.
     73 * @return              EOK on success or an error code.
    7474 */
    7575int
     
    120120 * @param flags         Flags passed to libblock.
    121121 *
    122  * @return              EOK on success or a negative error code.
     122 * @return              EOK on success or an error code.
    123123 */
    124124int
     
    184184 * @param flags         Flags passed to libblock.
    185185 *
    186  * @return              EOK on success or a negative error code.
     186 * @return              EOK on success or an error code.
    187187 */
    188188int
     
    227227 * @param value         Output argument holding the value of the cluster.
    228228 *
    229  * @return              EOK or a negative error code.
     229 * @return              EOK or an error code.
    230230 */
    231231int
     
    257257 * @param value         Value to set the cluster with.
    258258 *
    259  * @return              EOK on success or a negative error code.
     259 * @return              EOK on success or an error code.
    260260 */
    261261int
     
    295295 *                      will be returned.
    296296 *
    297  * @return              EOK on success, a negative error code otherwise.
     297 * @return              EOK on success, an error code otherwise.
    298298 */
    299299int
     
    361361 * @param firstc        First cluster in the chain which is to be freed.
    362362 *
    363  * @return              EOK on success or a negative return code.
     363 * @return              EOK on success or an error code.
    364364 */
    365365int
     
    394394 * @param lcl           Last cluster of the cluster chain to append.
    395395 *
    396  * @return              EOK on success or a negative error code.
     396 * @return              EOK on success or an error code.
    397397 */
    398398int
     
    438438 *                      be chopped off.
    439439 *
    440  * @return              EOK on success or a negative return code.
     440 * @return              EOK on success or an error code.
    441441 */
    442442int exfat_chop_clusters(exfat_bs_t *bs, exfat_node_t *nodep, exfat_cluster_t lcl)
  • uspace/srv/fs/fat/fat_fat.c

    r3c7702c0 rcde999a  
    7171 * @param max_clusters  Maximum number of clusters to visit.
    7272 *
    73  * @return              EOK on success or a negative error code.
     73 * @return              EOK on success or an error code.
    7474 */
    7575int
     
    121121 * @param flags         Flags passed to libblock.
    122122 *
    123  * @return              EOK on success or a negative error code.
     123 * @return              EOK on success or an error code.
    124124 */
    125125int
     
    186186 * @param flags         Flags passed to libblock.
    187187 *
    188  * @return              EOK on success or a negative error code.
     188 * @return              EOK on success or an error code.
    189189 */
    190190int
     
    235235 * @param pos           Position in the last node block.
    236236 *
    237  * @return              EOK on success or a negative error code.
     237 * @return              EOK on success or an error code.
    238238 */
    239239int
     
    287287 * @param value         Output argument holding the value of the cluster.
    288288 *
    289  * @return              EOK or a negative error code.
     289 * @return              EOK or an error code.
    290290 */
    291291static int
     
    357357 * @param value         Output argument holding the value of the cluster.
    358358 *
    359  * @return              EOK or a negative error code.
     359 * @return              EOK or an error code.
    360360 */
    361361static int
     
    388388 * @param value         Output argument holding the value of the cluster.
    389389 *
    390  * @return              EOK or a negative error code.
     390 * @return              EOK or an error code.
    391391 */
    392392static int
     
    421421 * @param value         Output argument holding the value of the cluster.
    422422 *
    423  * @return              EOK or a negative error code.
     423 * @return              EOK or an error code.
    424424 */
    425425int
     
    449449 * @param value         Value to set the cluster with.
    450450 *
    451  * @return              EOK on success or a negative error code.
     451 * @return              EOK on success or an error code.
    452452 */
    453453static int
     
    537537 * @param value         Value to set the cluster with.
    538538 *
    539  * @return              EOK on success or a negative error code.
     539 * @return              EOK on success or an error code.
    540540 */
    541541static int
     
    570570 * @param value         Value to set the cluster with.
    571571 *
    572  * @return              EOK on success or a negative error code.
     572 * @return              EOK on success or an error code.
    573573 */
    574574static int
     
    607607 * @param value         Value to set the cluster with.
    608608 *
    609  * @return              EOK on success or a negative error code.
     609 * @return              EOK on success or an error code.
    610610 */
    611611int
     
    634634 * @param nclsts        Number of clusters in the lifo chain.
    635635 *
    636  * @return              EOK on success or a negative error code.
     636 * @return              EOK on success or an error code.
    637637 */
    638638int fat_alloc_shadow_clusters(fat_bs_t *bs, service_id_t service_id,
     
    671671 *                      will be returned.
    672672 *
    673  * @return              EOK on success, a negative error code otherwise.
     673 * @return              EOK on success, an error code otherwise.
    674674 */
    675675int
     
    742742 * @param firstc        First cluster in the chain which is to be freed.
    743743 *
    744  * @return              EOK on success or a negative return code.
     744 * @return              EOK on success or an error code.
    745745 */
    746746int
     
    780780 * @param lcl           Last cluster of the cluster chain to append.
    781781 *
    782  * @return              EOK on success or a negative error code.
     782 * @return              EOK on success or an error code.
    783783 */
    784784int fat_append_clusters(fat_bs_t *bs, fat_node_t *nodep, fat_cluster_t mcl,
     
    827827 *                      be chopped off.
    828828 *
    829  * @return              EOK on success or a negative return code.
     829 * @return              EOK on success or an error code.
    830830 */
    831831int fat_chop_clusters(fat_bs_t *bs, fat_node_t *nodep, fat_cluster_t lcl)
  • uspace/srv/fs/mfs/mfs_balloc.c

    r3c7702c0 rcde999a  
    5454 *                      the new inode will be saved.
    5555 *
    56  * @return              EOK on success or a negative error code.
     56 * @return              EOK on success or an error code.
    5757 */
    5858int
     
    6868 * @param inum          Number of the inode to free.
    6969 *
    70  * @return              EOK on success or a negative error code.
     70 * @return              EOK on success or an error code.
    7171 */
    7272int
     
    8282 *                      of the zone will be saved.
    8383 *
    84  * @return              EOK on success or a negative error code.
     84 * @return              EOK on success or an error code.
    8585 */
    8686int
     
    105105 * @param zone          Index of the zone to free.
    106106 *
    107  * @return              EOK on success or a negative error code.
     107 * @return              EOK on success or an error code.
    108108 */
    109109int
     
    132132 *                      will be stored.
    133133 *
    134  * @return              EOK on success or a negative error code.
     134 * @return              EOK on success or an error code.
    135135 */
    136136int
     
    146146 *                      will be stored.
    147147 *
    148  * @return              EOK on success or a negative error code.
     148 * @return              EOK on success or an error code.
    149149 */
    150150
     
    162162 *                      will be stores.
    163163 *
    164  * @return              EOK on success or a negative error code.
     164 * @return              EOK on success or an error code.
    165165 */
    166166static int
     
    226226 *                      BMAP_INODE if operating on the inode's bitmap.
    227227 *
    228  * @return              EOK on success or a negative error code.
     228 * @return              EOK on success or an error code.
    229229 */
    230230static int
     
    293293 *                      BMAP_INODE if operating on the inode's bitmap.
    294294 *
    295  * @return              EOK on success or a negative error code.
     295 * @return              EOK on success or an error code.
    296296 */
    297297static int
  • uspace/srv/fs/mfs/mfs_dentry.c

    r3c7702c0 rcde999a  
    4040 * @param index         index of the dentry in the list.
    4141 *
    42  * @return              EOK on success or a negative error code.
     42 * @return              EOK on success or an error code.
    4343 */
    4444int
     
    103103 * @param d_info The directory entry to write to disk.
    104104 *
    105  * @return       EOK on success or a negative error code.
     105 * @return       EOK on success or an error code.
    106106 */
    107107int
     
    154154 * @param d_name        Name of the directory entry to delete.
    155155 *
    156  * @return              EOK on success or a negative error code.
     156 * @return              EOK on success or an error code.
    157157 */
    158158int
     
    195195 * @param d_inum        index of the inode that will be pointed by the new dentry.
    196196 *
    197  * @return              EOK on success or a negative error code.
     197 * @return              EOK on success or an error code.
    198198 */
    199199int
  • uspace/srv/fs/mfs/mfs_inode.c

    r3c7702c0 rcde999a  
    5555 * @param index         index of the inode to read.
    5656 *
    57  * @return              EOK on success or a negative error code.
     57 * @return              EOK on success or an error code.
    5858 */
    5959int
     
    201201 * @param mnode         Pointer to the generic MINIX inode in memory.
    202202 *
    203  * @return              EOK on success or a negative error code.
     203 * @return              EOK on success or an error code.
    204204 */
    205205int
     
    319319 * @param size_shrink   Number of bytes that will be subtracted to the inode.
    320320 *
    321  * @return              EOK on success or a negative error code.
     321 * @return              EOK on success or an error code.
    322322 */
    323323int
  • uspace/srv/fs/mfs/mfs_rw.c

    r3c7702c0 rcde999a  
    5959 * @param pos   Position in file.
    6060 *
    61  * @return      EOK on success or a negative error code.
     61 * @return      EOK on success or an error code.
    6262 */
    6363int
     
    236236 * @param new_size      The new size of the inode.
    237237 *
    238  * @return              EOK on success or a negative error code.
     238 * @return              EOK on success or an error code.
    239239 */
    240240int
  • uspace/srv/fs/udf/udf_file.c

    r3c7702c0 rcde999a  
    5454 * @param pos      Position with which we read
    5555 *
    56  * @return EOK on success or a negative error code.
     56 * @return EOK on success or an error code.
    5757 *
    5858 */
     
    9090 * @param len         Length of sequence
    9191 *
    92  * @return EOK on success or a negative error code.
     92 * @return EOK on success or an error code.
    9393 *
    9494 */
     
    231231 * @param node    UDF node
    232232 *
    233  * @return    EOK on success or a negative error code.
     233 * @return    EOK on success or an error code.
    234234 */
    235235int udf_read_icb(udf_node_t *node)
     
    300300 * @param node UDF node
    301301 *
    302  * @return EOK on success or a negative error code.
     302 * @return EOK on success or an error code.
    303303 *
    304304 */
     
    315315 * @param pos  Number of FID which we need to find
    316316 *
    317  * @return EOK on success or a negative error code.
     317 * @return EOK on success or an error code.
    318318 *
    319319 */
     
    366366 * @param pos   Number of FID which we need to find
    367367 *
    368  * @return EOK on success or a negative error code.
     368 * @return EOK on success or an error code.
    369369 *
    370370 */
     
    385385 * @param pos   Number of FID which we need to find
    386386 *
    387  * @return EOK on success or a negative error code.
     387 * @return EOK on success or an error code.
    388388 *
    389389 */
     
    466466 * @param len   Length of buf
    467467 *
    468  * @return EOK on success or a negative error code.
     468 * @return EOK on success or an error code.
    469469 *
    470470 */
     
    573573 * @param len      Length of data for reading
    574574 *
    575  * @return EOK on success or a negative error code.
     575 * @return EOK on success or an error code.
    576576 *
    577577 */
  • uspace/srv/fs/udf/udf_idx.c

    r3c7702c0 rcde999a  
    8888/** Initialization of hash table
    8989 *
    90  * @return EOK on success or a negative error code.
     90 * @return EOK on success or an error code.
    9191 *
    9292 */
     
    101101/** Delete hash table
    102102 *
    103  * @return EOK on success or a negative error code.
     103 * @return EOK on success or an error code.
    104104 *
    105105 */
     
    116116 * @param index    Absolute position of ICB (sector)
    117117 *
    118  * @return EOK on success or a negative error code.
     118 * @return EOK on success or an error code.
    119119 *
    120120 */
     
    150150 * @param index    Absolute position of ICB (sector)
    151151 *
    152  * @return EOK on success or a negative error code.
     152 * @return EOK on success or an error code.
    153153 *
    154154 */
     
    196196 * @param node UDF node
    197197 *
    198  * @return EOK on success or a negative error code.
     198 * @return EOK on success or an error code.
    199199 *
    200200 */
  • uspace/srv/fs/udf/udf_volume.c

    r3c7702c0 rcde999a  
    8181 * @param vd         Returned value - Volume Descriptor.
    8282 *
    83  * @return EOK on success or a negative error code.
     83 * @return EOK on success or an error code.
    8484 *
    8585 */
     
    9898 * @param service_id
    9999 *
    100  * @return    EOK on success or a negative error code.
     100 * @return    EOK on success or an error code.
    101101 */
    102102int udf_volume_recongnition(service_id_t service_id)
     
    167167 * @param sector_size Expected sector size
    168168 *
    169  * @return EOK on success or a negative error code.
     169 * @return EOK on success or an error code.
    170170 *
    171171 */
     
    204204 * @param avd        Returned value - Anchor Volume Descriptor
    205205 *
    206  * @return EOK on success or a negative error code.
     206 * @return EOK on success or an error code.
    207207 *
    208208 */
     
    357357 * @param id       Index of partition in instance::partitions array
    358358 *
    359  * @return EOK on success or a negative error code.
     359 * @return EOK on success or an error code.
    360360 *
    361361 */
     
    438438 * @param instance UDF instance
    439439 *
    440  * @return EOK on success or a negative error code.
     440 * @return EOK on success or an error code.
    441441 *
    442442 */
     
    598598 * @param addr       UDF extent descriptor (ECMA 167 3/7.1)
    599599 *
    600  * @return EOK on success or a negative error code.
     600 * @return EOK on success or an error code.
    601601 *
    602602 */
Note: See TracChangeset for help on using the changeset viewer.