[PATCH v7 3/7] fat: introduce a helper fat_get_blknr_offset()

2013-03-01 Thread Namjae Jeon
From: Namjae Jeon Introduce helper function to get the block number and offset for a given i_pos value. Use it in __fat_write_inode() now and later on in nfs.c Signed-off-by: Namjae Jeon Signed-off-by: Ravishankar N Signed-off-by: Amit Sahrawat --- fs/fat/fat.h |7 +++

[PATCH v7 3/7] fat: introduce a helper fat_get_blknr_offset()

2013-03-01 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Introduce helper function to get the block number and offset for a given i_pos value. Use it in __fat_write_inode() now and later on in nfs.c Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ravishankar N ravi...@samsung.com