aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/malloc.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-10-31 10:36:08 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-31 10:36:08 -0500
commitdd05e42fa86e37b14f8169bbad8d334e2e8d4881 (patch)
tree662097ff3a8451a565c8c808ee9f66c95bcf736b /fs/ntfs/malloc.h
parentc1d962035d49565d8c7a2d97519012ccb861778a (diff)
parent1f04c0a24b2f3cfe89c802a24396263623e3512d (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6
Diffstat (limited to 'fs/ntfs/malloc.h')
-rw-r--r--fs/ntfs/malloc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ntfs/malloc.h b/fs/ntfs/malloc.h
index 590887b943f5..e38e402e4103 100644
--- a/fs/ntfs/malloc.h
+++ b/fs/ntfs/malloc.h
@@ -39,8 +39,7 @@
39 * If there was insufficient memory to complete the request, return NULL. 39 * If there was insufficient memory to complete the request, return NULL.
40 * Depending on @gfp_mask the allocation may be guaranteed to succeed. 40 * Depending on @gfp_mask the allocation may be guaranteed to succeed.
41 */ 41 */
42static inline void *__ntfs_malloc(unsigned long size, 42static inline void *__ntfs_malloc(unsigned long size, gfp_t gfp_mask)
43 gfp_t gfp_mask)
44{ 43{
45 if (likely(size <= PAGE_SIZE)) { 44 if (likely(size <= PAGE_SIZE)) {
46 BUG_ON(!size); 45 BUG_ON(!size);