summaryrefslogtreecommitdiff
path: root/fs/xfs/kmem.c
diff options
context:
space:
mode:
authorCarlos Maiolino <cmaiolino@redhat.com>2020-07-22 09:23:17 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-07-28 20:24:14 -0700
commitca4f2589905954b155e920b543e13a370d578511 (patch)
tree48b4fd53cf61c9c3f708a3a5aa1062060da2c2d7 /fs/xfs/kmem.c
parent32a2b11f467642ea700bc0b01f4693e52ec0fabd (diff)
downloadlinux-riscv-ca4f2589905954b155e920b543e13a370d578511.tar.gz
linux-riscv-ca4f2589905954b155e920b543e13a370d578511.tar.bz2
linux-riscv-ca4f2589905954b155e920b543e13a370d578511.zip
xfs: Modify xlog_ticket_alloc() to use kernel's MM API
xlog_ticket_alloc() is always called under NOFS context, except from unmount path, which eitherway is holding many FS locks, so, there is no need for its callers to keep passing allocation flags into it. change xlog_ticket_alloc() to use default kmem_cache_zalloc(), remove its alloc_flags argument, and always use GFP_NOFS | __GFP_NOFAIL flags. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/kmem.c')
0 files changed, 0 insertions, 0 deletions