patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / fs / jfs / jfs_mount.c
index 5cdcaac..3de7db1 100644 (file)
@@ -288,6 +288,11 @@ int jfs_mount_rw(struct super_block *sb, int remount)
         */
        logMOUNT(sb);
 
+       /*
+        * Set page cache allocation policy
+        */
+       mapping_set_gfp_mask(sb->s_bdev->bd_inode->i_mapping, GFP_NOFS);
+
        return rc;
 }