patch-2.4.6 linux/fs/reiserfs/dir.c
Next file: linux/fs/reiserfs/fix_node.c
Previous file: linux/fs/proc/generic.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Fri Jun 29 15:36:23 2001
-  Orig file: 
v2.4.5/linux/fs/reiserfs/dir.c
-  Orig date: 
Fri Mar  2 10:06:47 2001
diff -u --recursive --new-file v2.4.5/linux/fs/reiserfs/dir.c linux/fs/reiserfs/dir.c
@@ -157,7 +157,7 @@
 		if (d_reclen <= 32) {
 		  local_buf = small_buf ;
 		} else {
-		    local_buf = kmalloc(d_reclen, GFP_BUFFER) ;
+		    local_buf = kmalloc(d_reclen, GFP_NOFS) ;
 		    if (!local_buf) {
 			pathrelse (&path_to_entry);
 			return -ENOMEM ;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)