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

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)