kernel: sulog: Simplify code using vfs_truncate

This commit is contained in:
ShirkNeko
2025-10-23 22:16:06 +08:00
parent 4b86989bf9
commit 6a1e1d788b
4 changed files with 4 additions and 74 deletions

View File

@@ -94,8 +94,4 @@ static long ksu_copy_from_user_retry(void *to,
return copy_from_user(to, from, count);
}
extern int ksu_vfs_unlink(struct inode *dir, struct dentry *dentry);
extern int ksu_vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
struct inode *new_dir, struct dentry *new_dentry);
#endif