Re: [PATCH] Btrfs: return error of btrfs_update_inode() to caller
From: David Sterba <hidden>
Date: 2012-06-26 12:33:47
From: David Sterba <hidden>
Date: 2012-06-26 12:33:47
On Tue, Jun 26, 2012 at 12:25:22PM +0900, Tsutomu Itoh wrote:
We didn't check error of btrfs_update_inode(), but that error looks easy to bubble back up.
Yep, the callers check for the retvals, and the one missed in __btrfs_unlink_inode seems serious, as unlink_inode and rename would not see the error (probably ENOSPC). Reviewed-by: David Sterba <redacted>