Project

General

Profile

Actions

Tasks #65613

closed

Tasks #63293: Implement fscrypt in libcephfs and cephfs-fuse

Tasks #64133: Make pjd work on fscrypt

truncate failing when using path

Added by Christopher Hoffman 26 days ago. Updated 25 days ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Component(FS):
Labels (FS):
Pull request ID:

Description

Reproducer:

echo -n =====creating file!=====
fstest create test1 0644;
echo -n =====truncating file!=====
fstest truncate test1 68686;
echo -n =====stating file!=====
fstest stat test1 size

stat above command returns 69632 instead of truncated value.
Only reproducers when using truncate(path, size) and not fd as parameter.

Actions

Also available in: Atom PDF