diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_file.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c index 3d4f6dff2113..41cfcba7ce49 100644 --- a/fs/xfs/linux-2.6/xfs_file.c +++ b/fs/xfs/linux-2.6/xfs_file.c | |||
@@ -370,7 +370,7 @@ xfs_file_readdir( | |||
370 | 370 | ||
371 | /* Try fairly hard to get memory */ | 371 | /* Try fairly hard to get memory */ |
372 | do { | 372 | do { |
373 | if ((read_buf = (caddr_t)kmalloc(rlen, GFP_KERNEL))) | 373 | if ((read_buf = kmalloc(rlen, GFP_KERNEL))) |
374 | break; | 374 | break; |
375 | rlen >>= 1; | 375 | rlen >>= 1; |
376 | } while (rlen >= 1024); | 376 | } while (rlen >= 1024); |