diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2022-06-01 08:48:38 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-05-31 18:04:06 -0500 |
commit | f66f8b94e7f2f4ac9fffe710be231ca8f25c5057 (patch) | |
tree | ded318abbf35c949c6106ab6022ebedd27853a01 /fs/cifs/smb1ops.c | |
parent | 0d5106a80e08cbbb273f35dc373f4f19e5ec8b03 (diff) | |
download | linux-rpi-f66f8b94e7f2f4ac9fffe710be231ca8f25c5057.tar.gz linux-rpi-f66f8b94e7f2f4ac9fffe710be231ca8f25c5057.tar.bz2 linux-rpi-f66f8b94e7f2f4ac9fffe710be231ca8f25c5057.zip |
cifs: when extending a file with falloc we should make files not-sparse
as this is the only way to make sure the region is allocated.
Fix the conditional that was wrong and only tried to make already
non-sparse files non-sparse.
Cc: stable@vger.kernel.org
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb1ops.c')
0 files changed, 0 insertions, 0 deletions