1 // SPDX-License-Identifier: GPL-2.0 2 3 /* 4 * Copyright (C) 2024 Google LLC. 5 */ 6 7 #include <linux/fs.h> 8 rust_helper_get_file(struct file * f)9struct file *rust_helper_get_file(struct file *f) 10 { 11 return get_file(f); 12 } 13 rust_helper_i_size_read(const struct inode * inode)14loff_t rust_helper_i_size_read(const struct inode *inode) 15 { 16 return i_size_read(inode); 17 } 18