]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fat: introduce a helper fat_get_blknr_offset()
authorNamjae Jeon <namjae.jeon@samsung.com>
Tue, 26 Mar 2013 23:25:49 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:53 +0000 (17:12 +1100)
commit548753b31b6d603ea6c2065c781f74556d54ac69
tree410f4ff15117820fb01c938eb895537b62785161
parent3f7c2033cc226cb7fabc9eb3d16459db9965d9b9
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