projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f08dc36
)
btrfs: use GFP_KERNEL in btrfs_alloc_inode
author
David Sterba
<dsterba@suse.com>
Tue, 31 Oct 2017 16:08:27 +0000
(17:08 +0100)
committer
David Sterba
<dsterba@suse.com>
Mon, 22 Jan 2018 15:08:12 +0000
(16:08 +0100)
This callback is called directly from VFS, no locks are held at the
allocation time.
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index f9efaecfc9d1c1a14ba9052804abb2658b06478c..2e92c582cda04731a1ddb58dc53645a5dc8f5999 100644
(file)
--- a/
fs/btrfs/inode.c
+++ b/
fs/btrfs/inode.c
@@
-9430,7
+9430,7
@@
struct inode *btrfs_alloc_inode(struct super_block *sb)
struct btrfs_inode *ei;
struct inode *inode;
- ei = kmem_cache_alloc(btrfs_inode_cachep, GFP_
NOFS
);
+ ei = kmem_cache_alloc(btrfs_inode_cachep, GFP_
KERNEL
);
if (!ei)
return NULL;