Commit b9d86667 authored by Chris Mason's avatar Chris Mason

Btrfs: Silence bogus inode.c compiler warnings

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 12fa8ec6
...@@ -2035,12 +2035,12 @@ static int btrfs_link(struct dentry *old_dentry, struct inode *dir, ...@@ -2035,12 +2035,12 @@ static int btrfs_link(struct dentry *old_dentry, struct inode *dir,
static int btrfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) static int btrfs_mkdir(struct inode *dir, struct dentry *dentry, int mode)
{ {
struct inode *inode; struct inode *inode = NULL;
struct btrfs_trans_handle *trans; struct btrfs_trans_handle *trans;
struct btrfs_root *root = BTRFS_I(dir)->root; struct btrfs_root *root = BTRFS_I(dir)->root;
int err = 0; int err = 0;
int drop_on_err = 0; int drop_on_err = 0;
u64 objectid; u64 objectid = 0;
unsigned long nr = 1; unsigned long nr = 1;
mutex_lock(&root->fs_info->fs_mutex); mutex_lock(&root->fs_info->fs_mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment