commit | 3720887910864467a61cd0d64bad3965009cdef8 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Tue Nov 12 16:55:17 2013 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Mon Dec 23 10:18:00 2013 +0900 |
tree | 73fb7d848e34a5a0d46bcacfcc45dd2946dbb526 | |
parent | 7ac8c3b051ed3a3e71df72a7ffc44e14cc5c2bae [diff] |
f2fs: introduce f2fs_issue_discard() to clean up Change log from v1: o fix 32bit drops reported by Dan Carpenter This patch adds f2fs_issue_discard() to clean up blkdev_issue_discard() flows. Dan carpenter reported: "block_t is a 32 bit type and sector_t is a 64 bit type. The upper 32 bits of the sector_t are not used because the shift will wrap." Bug-Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>