Re: [PATCH] f2fs: cleanup the f2fs_bio_alloc routine

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

 



2012/12/10, Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx>:
> Do cleanup more for better code readability.
>
> - Change the parameter set of f2fs_bio_alloc()
>   This function should allocate a bio only since it is not something like
>   f2fs_bio_init(). Instead, the caller should initialize the allocated bio.
>
> - Introduce SECTOR_FROM_BLOCK
>   This macro translates a block address to its sector address.
>
Looks good to me!
> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@xxxxxxxxxxx>
Reviewed-by: Namjae Jeon <namjae.jeon@xxxxxxxxxxx>
Thanks.
> ---
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux