On Wed, Mar 09, 2022 at 11:22:41AM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Various directory functions do not modify their @name parameter, > so mark it const to make that clear. This will enable us to mark > the global xfs_name_dotdot variable as const to prevent mischief. > > Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> > --- > fs/xfs/libxfs/xfs_dir2.c | 12 ++++++------ > fs/xfs/libxfs/xfs_dir2.h | 4 ++-- > fs/xfs/libxfs/xfs_dir2_priv.h | 5 +++-- > 3 files changed, 11 insertions(+), 10 deletions(-) Looks fine, but I can't help but wonder if you just pulled on a ball of string... Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx