diff options
Diffstat (limited to 'fs/dax.c')
-rw-r--r-- | fs/dax.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,11 @@ | |||
29 | #include <linux/uio.h> | 29 | #include <linux/uio.h> |
30 | #include <linux/vmstat.h> | 30 | #include <linux/vmstat.h> |
31 | 31 | ||
32 | /* | ||
33 | * dax_clear_blocks() is called from within transaction context from XFS, | ||
34 | * and hence this means the stack from this point must follow GFP_NOFS | ||
35 | * semantics for all operations. | ||
36 | */ | ||
32 | int dax_clear_blocks(struct inode *inode, sector_t block, long size) | 37 | int dax_clear_blocks(struct inode *inode, sector_t block, long size) |
33 | { | 38 | { |
34 | struct block_device *bdev = inode->i_sb->s_bdev; | 39 | struct block_device *bdev = inode->i_sb->s_bdev; |