diff options
Diffstat (limited to 'fs/ufs/util.c')
-rw-r--r-- | fs/ufs/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ufs/util.c b/fs/ufs/util.c index 95425b59ce0a..b6c2f94e041e 100644 --- a/fs/ufs/util.c +++ b/fs/ufs/util.c | |||
@@ -26,8 +26,7 @@ struct ufs_buffer_head * _ubh_bread_ (struct ufs_sb_private_info * uspi, | |||
26 | count = size >> uspi->s_fshift; | 26 | count = size >> uspi->s_fshift; |
27 | if (count > UFS_MAXFRAG) | 27 | if (count > UFS_MAXFRAG) |
28 | return NULL; | 28 | return NULL; |
29 | ubh = (struct ufs_buffer_head *) | 29 | ubh = kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS); |
30 | kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS); | ||
31 | if (!ubh) | 30 | if (!ubh) |
32 | return NULL; | 31 | return NULL; |
33 | ubh->fragment = fragment; | 32 | ubh->fragment = fragment; |