Btrfs: cleanup error handling in inode.c
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Mon, 25 Apr 2011 23:43:53 +0000 (19:43 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 25 Apr 2011 23:43:53 +0000 (19:43 -0400)
commit7cf96da3ec7ca225acf4f284b0e904a1f5f98821
tree48c1b0d42f40c47ac8e6a497d41d6d314a9a8a5d
parent64728bbbf892ea7a4aba502c436afbe362217fb9
Btrfs: cleanup error handling in inode.c

The error processing of several places is changed like setting the
error number only at the error.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/inode.c