]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fat: introduce a helper fat_get_blknr_offset()
authorNamjae Jeon <namjae.jeon@samsung.com>
Wed, 20 Mar 2013 04:08:25 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Mar 2013 04:23:22 +0000 (15:23 +1100)
commitf88e815ec06440d66cd6efd3ca6f3611145b8f15
treee51664cc691b424a1cfff4e8511b667da5dbff17
parentdf8b9e75639c4bc836fcd1b0d2110edd996cf2d7
fat: introduce a helper fat_get_blknr_offset()

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.jeon@samsung.com>
Signed-off-by: Ravishankar N <ravi.n1@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/fat/fat.h
fs/fat/inode.c