[<prev] [next>] [day] [month] [year] [list]
Message-id: <002201d0ea2c$37168df0$a543a9d0$@samsung.com>
Date: Tue, 08 Sep 2015 19:47:14 +0800
From: Chao Yu <chao2.yu@...sung.com>
To: 'Nicholas Krause' <xerofoify@...il.com>, jaegeuk@...nel.org
Cc: cm224.lee@...sung.com, linux-f2fs-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: RE: [PATCH RESEND] f2fs:Fix incorrect return statement in the function
f2fs_ioc_release_volatile_write
> -----Original Message-----
> From: Nicholas Krause [mailto:xerofoify@...il.com]
> Sent: Sunday, September 06, 2015 8:29 PM
> To: jaegeuk@...nel.org
> Cc: cm224.lee@...sung.com; chao2.yu@...sung.com; linux-f2fs-devel@...ts.sourceforge.net;
> linux-kernel@...r.kernel.org
> Subject: [PATCH RESEND] f2fs:Fix incorrect return statement in the function
> f2fs_ioc_release_volatile_write
>
> This fixes the incorrect return statement at the end of the function
> f2fs_ioc_release_volatile_write's body for returning zero as this is
> incorrect due to the function call before this return statement to
> the function punch_hole being able to fail and we should return this
> function's return fail directly in order to signal to callers of the
> function f2fs_ioc_release_volatile if a failure arises with this call
> to punch_hole fails.
>
> Signed-off-by: Nicholas Krause <xerofoify@...il.com>
Reviewed-by: Chao Yu <chao2.yu@...sung.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists