diff options
author | David S. Miller <davem@davemloft.net> | 2019-05-02 22:14:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-02 22:14:21 -0400 |
commit | ff24e4980a68d83090a02fda081741a410fe8eef (patch) | |
tree | 4d874dfcaf2bb8c3abc2446af9447a983402c0ae /fs/btrfs/ordered-data.c | |
parent | 26f146ed971c0e4a264ce525d7a66a71ef73690d (diff) | |
parent | ea9866793d1e925b4d320eaea409263b2a568f38 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Three trivial overlapping conflicts.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/btrfs/ordered-data.c')
-rw-r--r-- | fs/btrfs/ordered-data.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/ordered-data.c b/fs/btrfs/ordered-data.c index 6fde2b2741ef..45e3cfd1198b 100644 --- a/fs/btrfs/ordered-data.c +++ b/fs/btrfs/ordered-data.c | |||
@@ -6,6 +6,7 @@ | |||
6 | #include <linux/slab.h> | 6 | #include <linux/slab.h> |
7 | #include <linux/blkdev.h> | 7 | #include <linux/blkdev.h> |
8 | #include <linux/writeback.h> | 8 | #include <linux/writeback.h> |
9 | #include <linux/sched/mm.h> | ||
9 | #include "ctree.h" | 10 | #include "ctree.h" |
10 | #include "transaction.h" | 11 | #include "transaction.h" |
11 | #include "btrfs_inode.h" | 12 | #include "btrfs_inode.h" |
@@ -442,7 +443,7 @@ void btrfs_put_ordered_extent(struct btrfs_ordered_extent *entry) | |||
442 | cur = entry->list.next; | 443 | cur = entry->list.next; |
443 | sum = list_entry(cur, struct btrfs_ordered_sum, list); | 444 | sum = list_entry(cur, struct btrfs_ordered_sum, list); |
444 | list_del(&sum->list); | 445 | list_del(&sum->list); |
445 | kfree(sum); | 446 | kvfree(sum); |
446 | } | 447 | } |
447 | kmem_cache_free(btrfs_ordered_extent_cache, entry); | 448 | kmem_cache_free(btrfs_ordered_extent_cache, entry); |
448 | } | 449 | } |