patch-2.4.22 linux-2.4.22/drivers/block/loop.c
Next file: linux-2.4.22/drivers/block/nbd.c
Previous file: linux-2.4.22/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
2003-08-25 04:44:41.000000000 -0700
- Orig file:
linux-2.4.21/drivers/block/loop.c
- Orig date:
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.21/drivers/block/loop.c linux-2.4.22/drivers/block/loop.c
@@ -682,7 +682,7 @@
lo->ioctl = NULL;
figure_loop_size(lo);
lo->old_gfp_mask = inode->i_mapping->gfp_mask;
- inode->i_mapping->gfp_mask = GFP_NOIO;
+ inode->i_mapping->gfp_mask &= ~(__GFP_IO|__GFP_FS);
bs = 0;
if (blksize_size[MAJOR(lo_device)])
@@ -893,6 +893,7 @@
break;
case BLKBSZGET:
case BLKBSZSET:
+ case BLKSSZGET:
err = blk_ioctl(inode->i_rdev, cmd, arg);
break;
default:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)