|
@@ -52,7 +52,7 @@ static int udf_update_inode(struct inode *, int);
|
|
static void udf_fill_inode(struct inode *, struct buffer_head *);
|
|
static void udf_fill_inode(struct inode *, struct buffer_head *);
|
|
static int udf_alloc_i_data(struct inode *inode, size_t size);
|
|
static int udf_alloc_i_data(struct inode *inode, size_t size);
|
|
static struct buffer_head *inode_getblk(struct inode *, sector_t, int *,
|
|
static struct buffer_head *inode_getblk(struct inode *, sector_t, int *,
|
|
- long *, int *);
|
|
|
|
|
|
+ sector_t *, int *);
|
|
static int8_t udf_insert_aext(struct inode *, struct extent_position,
|
|
static int8_t udf_insert_aext(struct inode *, struct extent_position,
|
|
kernel_lb_addr, uint32_t);
|
|
kernel_lb_addr, uint32_t);
|
|
static void udf_split_extents(struct inode *, int *, int, int,
|
|
static void udf_split_extents(struct inode *, int *, int, int,
|
|
@@ -307,7 +307,7 @@ static int udf_get_block(struct inode *inode, sector_t block,
|
|
{
|
|
{
|
|
int err, new;
|
|
int err, new;
|
|
struct buffer_head *bh;
|
|
struct buffer_head *bh;
|
|
- unsigned long phys;
|
|
|
|
|
|
+ sector_t phys = 0;
|
|
struct udf_inode_info *iinfo;
|
|
struct udf_inode_info *iinfo;
|
|
|
|
|
|
if (!create) {
|
|
if (!create) {
|
|
@@ -489,7 +489,7 @@ out:
|
|
}
|
|
}
|
|
|
|
|
|
static struct buffer_head *inode_getblk(struct inode *inode, sector_t block,
|
|
static struct buffer_head *inode_getblk(struct inode *inode, sector_t block,
|
|
- int *err, long *phys, int *new)
|
|
|
|
|
|
+ int *err, sector_t *phys, int *new)
|
|
{
|
|
{
|
|
static sector_t last_block;
|
|
static sector_t last_block;
|
|
struct buffer_head *result = NULL;
|
|
struct buffer_head *result = NULL;
|