X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=fs%2Fdax.c;h=131fd35ae39d53f8a9ef7bdd1aaa61677beda5f0;hp=a86d3cc2b38941b0e39f23be84e4986d8852ae42;hb=fb952af46586ab123ac006248a7196afcf3323a8;hpb=446a34a35e9d79de7aabe6fe31035d31b1976ddf diff --git a/fs/dax.c b/fs/dax.c index a86d3cc2b389..131fd35ae39d 100644 --- a/fs/dax.c +++ b/fs/dax.c @@ -29,6 +29,11 @@ #include #include +/* + * dax_clear_blocks() is called from within transaction context from XFS, + * and hence this means the stack from this point must follow GFP_NOFS + * semantics for all operations. + */ int dax_clear_blocks(struct inode *inode, sector_t block, long size) { struct block_device *bdev = inode->i_sb->s_bdev;