fs: Create a generic is_dot_dotdot() utility
De-duplicate the same functionality in several places by hoisting the is_dot_dotdot() utility function into linux/fs.h. Suggested-by:Amir Goldstein <amir73il@gmail.com> Reviewed-by:
Jeff Layton <jlayton@kernel.org> Reviewed-by:
Amir Goldstein <amir73il@gmail.com> Acked-by:
Christian Brauner <brauner@kernel.org> Signed-off-by:
Chuck Lever <chuck.lever@oracle.com>
Showing
Please register or sign in to comment