From: Al Viro <[email protected]>

Signed-off-by: Al Viro <[email protected]>
---
 fs/affs/inode.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/affs/inode.c b/fs/affs/inode.c
index dcfa753..dac9c7a 100644
--- a/fs/affs/inode.c
+++ b/fs/affs/inode.c
@@ -256,7 +256,7 @@ out:
 void
 affs_evict_inode(struct inode *inode)
 {
-       unsigned long cache_page;
+       void *cache_page;
        pr_debug("evict_inode(ino=%lu, nlink=%u)\n",
                 inode->i_ino, inode->i_nlink);
        truncate_inode_pages_final(&inode->i_data);
@@ -269,12 +269,12 @@ affs_evict_inode(struct inode *inode)
        invalidate_inode_buffers(inode);
        clear_inode(inode);
        affs_free_prealloc(inode);
-       cache_page = (unsigned long)AFFS_I(inode)->i_lc;
+       cache_page = AFFS_I(inode)->i_lc;
        if (cache_page) {
                pr_debug("freeing ext cache\n");
                AFFS_I(inode)->i_lc = NULL;
                AFFS_I(inode)->i_ac = NULL;
-               free_page((void *)cache_page);
+               free_page(cache_page);
        }
        affs_brelse(AFFS_I(inode)->i_ext_bh);
        AFFS_I(inode)->i_ext_last = ~1;
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to