Re: [PATCH v3] btrfs: remove unnecessary error check

2014-07-11 Thread Eric Sandeen
On 7/10/14, 8:35 PM, Satoru Takeuchi wrote: > This is the v3 patch. > > === > From: Satoru Takeuchi > > If "(!IS_ERR(trans) || PTR_ERR(trans) != -ENOSPC))" is false, > obviously "trans" is -ENOSPC. So we can safely remove the redundant > "(PTR_ERR(trans) == -ENOSPC)" check. > > Signed-off-by:

[PATCH v3] btrfs: remove unnecessary error check

2014-07-10 Thread Satoru Takeuchi
Hi Eric, (2014/07/10 22:27), Eric Sandeen wrote: On 7/10/14, 1:44 AM, Satoru Takeuchi wrote: (2014/07/10 12:26), Eric Sandeen wrote: On Jul 9, 2014, at 10:20 PM, Satoru Takeuchi wrote: From: Satoru Takeuchi If "(!IS_ERR(trans) || PTR_ERR(trans) != -ENOSPC))" is false, obviously "trans"