]> 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>
Thu, 21 Mar 2013 05:34:25 +0000 (16:34 +1100)
commit58bdd203cb3d1cf4ca876a65560f79dbc2791b96
tree8243f86e1ae0da553ef3d4b5678fedfcaf83aee2
parent8574eff60b204605e24dbd23d9de6778fe5686de
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