summaryrefslogtreecommitdiffstats
path: root/fs/smhfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/smhfs.c')
-rw-r--r--fs/smhfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/smhfs.c b/fs/smhfs.c
index a0df06c31e..f1b6d6bb1b 100644
--- a/fs/smhfs.c
+++ b/fs/smhfs.c
@@ -58,7 +58,7 @@ static int smhfs_truncate(struct device_d __always_unused *dev,
FILE __always_unused *f,
ulong __always_unused size)
{
- return -ENOSYS;
+ return 0;
}
static int smhfs_open(struct device_d __always_unused *dev,