Skip to content
Commit 65c4ca1f authored by RAJAGOPALAN GANGADHARAN's avatar RAJAGOPALAN GANGADHARAN Committed by Henrik Brix Andersen
Browse files

fs: open: Add Truncate flag to zfs open



This commit has added new flag FS_O_TRUNC to support truncation
during file open. Modified fs_open to handle truncation based on
provided flags. Included unit tests for flag behavior with common
filesystems.

Signed-off-by: default avatarRAJAGOPALAN GANGADHARAN <g.raju2000@gmail.com>
parent c36d9ec3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment