diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-05-02 16:13:49 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:02 -0400 |
commit | b9d86667c94e5fe4bf9f6aa500e7ff1138e717ff (patch) | |
tree | 2932ca5389b8985b234bd3d59d0fbf1c04398927 /fs/btrfs/inode.c | |
parent | 12fa8ec64f445aa932ba154053fe95432f30f2c6 (diff) |
Btrfs: Silence bogus inode.c compiler warnings
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index c6fae29c0b9e..5204599e4309 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -2035,12 +2035,12 @@ fail: | |||
2035 | 2035 | ||
2036 | static int btrfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) | 2036 | static int btrfs_mkdir(struct inode *dir, struct dentry *dentry, int mode) |
2037 | { | 2037 | { |
2038 | struct inode *inode; | 2038 | struct inode *inode = NULL; |
2039 | struct btrfs_trans_handle *trans; | 2039 | struct btrfs_trans_handle *trans; |
2040 | struct btrfs_root *root = BTRFS_I(dir)->root; | 2040 | struct btrfs_root *root = BTRFS_I(dir)->root; |
2041 | int err = 0; | 2041 | int err = 0; |
2042 | int drop_on_err = 0; | 2042 | int drop_on_err = 0; |
2043 | u64 objectid; | 2043 | u64 objectid = 0; |
2044 | unsigned long nr = 1; | 2044 | unsigned long nr = 1; |
2045 | 2045 | ||
2046 | mutex_lock(&root->fs_info->fs_mutex); | 2046 | mutex_lock(&root->fs_info->fs_mutex); |