projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252c38f
)
Btrfs: Fix mknod to properly send rdev info back to disk
author
Yan
<yanzheng@21cn.com>
Wed, 29 Aug 2007 13:11:44 +0000
(09:11 -0400)
committer
David Woodhouse
<dwmw2@hera.kernel.org>
Wed, 29 Aug 2007 13:11:44 +0000
(09:11 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/inode.c
b/fs/btrfs/inode.c
index 2e3918e6049eb133c548d241536e38b447d61553..483eea69b0a6fabeffffc5f8d609bcc8bd0ad3b1 100644
(file)
--- a/
fs/btrfs/inode.c
+++ b/
fs/btrfs/inode.c
@@
-1095,6
+1095,7
@@
static int btrfs_mknod(struct inode *dir, struct dentry *dentry,
else {
inode->i_op = &btrfs_special_inode_operations;
init_special_inode(inode, inode->i_mode, rdev);
+ btrfs_update_inode(trans, root, inode);
}
dir->i_sb->s_dirt = 1;
btrfs_update_inode_block_group(trans, inode);