Re: [PATCH v2 5/5] fat: permit to return phy block number by fibmap in fallocated region

From: OGAWA Hirofumi
Date: Thu Dec 05 2013 - 10:48:39 EST


Namjae Jeon <linkinjeon@xxxxxxxxx> writes:

>> ->i_mutex doesn't work for swapfile.
> Sorry, Actually, I don't understand why it is related with swapfile.
> Could you elaborate more ?

swapfile.c calls ->bmap to know physical address in swapfile. However,
swapfile.c calls ->bmap under inode->i_mutex.

Thanks.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/