Re: [PATCH 1/5] fat: add i_disksize to represent uninitialized size

2013-10-29 Thread Namjae Jeon
2013/10/30, OGAWA Hirofumi : > Namjae Jeon writes: > diff --git a/fs/fat/cache.c b/fs/fat/cache.c index 91ad9e1..37572c2 100644 --- a/fs/fat/cache.c +++ b/fs/fat/cache.c @@ -329,10 +329,10 @@ int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,

Re: [PATCH 1/5] fat: add i_disksize to represent uninitialized size

2013-10-29 Thread OGAWA Hirofumi
Namjae Jeon writes: >>> diff --git a/fs/fat/cache.c b/fs/fat/cache.c >>> index 91ad9e1..37572c2 100644 >>> --- a/fs/fat/cache.c >>> +++ b/fs/fat/cache.c >>> @@ -329,10 +329,10 @@ int fat_bmap(struct inode *inode, sector_t sector, >>> sector_t *phys, >>> return 0; >>> >>>

Re: [PATCH 1/5] fat: add i_disksize to represent uninitialized size

2013-10-29 Thread Namjae Jeon
2013/10/27, OGAWA Hirofumi : > Namjae Jeon writes: Hi OGAWA. > > Code seems to be much became simpler. Thanks :) > >> diff --git a/fs/fat/cache.c b/fs/fat/cache.c >> index 91ad9e1..37572c2 100644 >> --- a/fs/fat/cache.c >> +++ b/fs/fat/cache.c >> @@ -329,10 +329,10 @@ int fat_bmap(struct inode *in

Re: [PATCH 1/5] fat: add i_disksize to represent uninitialized size

2013-10-27 Thread OGAWA Hirofumi
Namjae Jeon writes: Code seems to be much became simpler. > diff --git a/fs/fat/cache.c b/fs/fat/cache.c > index 91ad9e1..37572c2 100644 > --- a/fs/fat/cache.c > +++ b/fs/fat/cache.c > @@ -329,10 +329,10 @@ int fat_bmap(struct inode *inode, sector_t sector, > sector_t *phys, >

[PATCH 1/5] fat: add i_disksize to represent uninitialized size

2013-10-09 Thread Namjae Jeon
From: Namjae Jeon Add i_disksize to represent uninitialized allocated size. And mmu_private represent initialized allocated size. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- fs/fat/cache.c |4 ++-- fs/fat/fat.h |3 ++- fs/fat/file.c |4 +++- fs/fat/inode.c |