Re: [PATCH] fat: instead of constant number, use the i_blkbits of struct inode to calculate the number of blocks

2013-02-19 Thread OGAWA Hirofumi
Hyeoncheol Lee writes: > To calculate the number of blocks from the number of clusters, > use the i_blkbits of struct inode instead of 9. > > Signed-off-by: Hyeoncheol Lee > --- > fs/fat/misc.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/fat/misc.c

[PATCH] fat: instead of constant number, use the i_blkbits of struct inode to calculate the number of blocks

2013-02-19 Thread Hyeoncheol Lee
To calculate the number of blocks from the number of clusters, use the i_blkbits of struct inode instead of 9. Signed-off-by: Hyeoncheol Lee --- fs/fat/misc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fat/misc.c b/fs/fat/misc.c index 6d93360..ccdf663 100644 ---

[PATCH] fat: instead of constant number, use the i_blkbits of struct inode to calculate the number of blocks

2013-02-19 Thread Hyeoncheol Lee
To calculate the number of blocks from the number of clusters, use the i_blkbits of struct inode instead of 9. Signed-off-by: Hyeoncheol Lee hyc@gmail.com --- fs/fat/misc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/fat/misc.c b/fs/fat/misc.c index

Re: [PATCH] fat: instead of constant number, use the i_blkbits of struct inode to calculate the number of blocks

2013-02-19 Thread OGAWA Hirofumi
Hyeoncheol Lee hyc@gmail.com writes: To calculate the number of blocks from the number of clusters, use the i_blkbits of struct inode instead of 9. Signed-off-by: Hyeoncheol Lee hyc@gmail.com --- fs/fat/misc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git