Re: [PATCH] fat: Simplify calc_fat_clusters code

2014-09-02 Thread Seunghun Lee
On 09/03/2014 12:37 AM, OGAWA Hirofumi wrote: > Seunghun Lee writes: > >> diff --git a/fs/fat/inode.c b/fs/fat/inode.c >> index 756aead..6992dea 100644 >> --- a/fs/fat/inode.c >> +++ b/fs/fat/inode.c >> @@ -1307,12 +1307,9 @@ static unsigned long calc_fat_clusters(struct >> super_block *sb) >>

Re: [PATCH] fat: Simplify calc_fat_clusters code

2014-09-02 Thread OGAWA Hirofumi
Seunghun Lee writes: > diff --git a/fs/fat/inode.c b/fs/fat/inode.c > index 756aead..6992dea 100644 > --- a/fs/fat/inode.c > +++ b/fs/fat/inode.c > @@ -1307,12 +1307,9 @@ static unsigned long calc_fat_clusters(struct > super_block *sb) > struct msdos_sb_info *sbi = MSDOS_SB(sb); > >

[PATCH] fat: Simplify calc_fat_clusters code

2014-09-02 Thread Seunghun Lee
Code for fat12 and fat16/32 can be merged to one. Signed-off-by: Seunghun Lee --- fs/fat/inode.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 756aead..6992dea 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -1307,12 +1307