Btrfs: Fix double free and off by one in inode.c
authorYan <yanzheng@21cn.com>
Mon, 17 Sep 2007 15:13:12 +0000 (11:13 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:56 +0000 (11:03 -0400)
commit8e1cd766643f040fd88b9c4221353a3f6b77db1e
tree837357a686763f6a3a3559b2320daf40836d46d3
parentbab9fb035faa5119991b64cfee1b14c1d6f6a31b
Btrfs: Fix double free and off by one in inode.c

The first change removes  potential double free, the second fix a off
by one error.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c