Re: [PATCH] Btrfs: return error of btrfs_update_inode() to caller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dsterba@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux