Re: [PATCH v4] fs: introduce is_dot_or_dotdot helper for cleanup

From: Matthew Wilcox
Date: Tue Dec 10 2019 - 07:14:07 EST


On Tue, Dec 10, 2019 at 08:10:01PM +0800, Tiezhu Yang wrote:
> There exists many similar and duplicate codes to check "." and "..",
> so introduce is_dot_or_dotdot helper to make the code more clean.
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>