commit | a589a208405d61215c52987c7d522e33b1321d34 | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Fri Apr 07 12:15:39 2017 +0300 |
committer | Eryu Guan <eguan@redhat.com> | Sat Apr 08 23:22:58 2017 +0800 |
tree | 7f5b016bcbd5aa980caae9bc41c2fb4cb8092307 | |
parent | 941ea73ec3c5bff0af568d286e2f258472672369 [diff] |
src/t_immutable: add ftruncate to append only tests The truncate and ftruncate syscalls check the IS_APPEND() flag in 2 different vfs code paths and I had to fix both in order to fix overlayfs IS_APPEND() violations. Add the ftruncate test to t_immutable, so overlay/030 can verify the fix. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>