Re: can I change NAME_MAX limit

2019-05-07 Thread David Sterba
On Tue, May 07, 2019 at 05:48:47PM +0800, litaibaich...@gmail.com wrote: > I am running btrfs on a 4.4.178 kernel,  I want to support a longer > file name, now the NAME_MAX is 255,  can I just increase the NAME_MAX > macro and recompile the kernel to support longer file name ?  I guess > I will bre

can I change NAME_MAX limit

2019-05-07 Thread litaibaich...@gmail.com
Hi Guys, I am running btrfs on a 4.4.178 kernel,  I want to support a longer file name, now the NAME_MAX is 255,  can I just increase the NAME_MAX macro and recompile the kernel to support longer file name ?  I guess I will break sth,  but I am not sure what part will be broken. Thanks.