]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb/client: name the default fallocate mode
authorHuiwen He <hehuiwen@kylinos.cn>
Tue, 23 Jun 2026 02:46:13 +0000 (10:46 +0800)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Jun 2026 15:33:51 +0000 (10:33 -0500)
commit898d280f4e4d6da53da8c1f5884a65487ae93603
treecf07b0c22158083a11cc15e0d78ef43e536fa955
parentd281a757ff1ca230b80b0eae16559f8054927083
smb/client: name the default fallocate mode

FALLOC_FL_ALLOCATE_RANGE identifies the default fallocate
allocation mode and is defined as zero.

Use the symbolic name instead of a literal zero in
smb3_fallocate() to make the mode dispatch clearer. This
does not change behavior.

Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2ops.c