Changeset 90043 in vbox for trunk/src/VBox/Additions/linux
- Timestamp:
- Jul 6, 2021 8:23:19 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145537
- Location:
- trunk/src/VBox/Additions/linux/sharedfolders
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c
r88273 r90043 1039 1039 * Create a new regular file. 1040 1040 * 1041 * @param parent inode of the directory 1042 * @param dentry directory cache entry 1043 * @param mode file mode 1044 * @param excl Possible O_EXCL... 1041 * @param ns The name space. 1042 * @param parent inode of the directory 1043 * @param dentry directory cache entry 1044 * @param mode file mode 1045 * @param excl Possible O_EXCL... 1045 1046 * @returns 0 on success, Linux error code otherwise 1046 1047 */ 1047 #if RTLNX_VER_MIN(5,12,0) 1048 #if RTLNX_VER_MIN(5,12,0) || defined(DOXYGEN_RUNNING) 1048 1049 static int vbsf_inode_create(struct user_namespace *ns, struct inode *parent, struct dentry *dentry, umode_t mode, bool excl) 1049 #elif RTLNX_VER_MIN(3,6,0) || defined(DOXYGEN_RUNNING)1050 #elif RTLNX_VER_MIN(3,6,0) 1050 1051 static int vbsf_inode_create(struct inode *parent, struct dentry *dentry, umode_t mode, bool excl) 1051 1052 #elif RTLNX_VER_MIN(3,3,0) … … 1079 1080 * Create a new directory. 1080 1081 * 1081 * @param parent inode of the directory 1082 * @param dentry directory cache entry 1083 * @param mode file mode 1082 * @param ns The name space. 1083 * @param parent inode of the directory 1084 * @param dentry directory cache entry 1085 * @param mode file mode 1084 1086 * @returns 0 on success, Linux error code otherwise 1085 1087 */ 1086 #if RTLNX_VER_MIN(5,12,0) 1088 #if RTLNX_VER_MIN(5,12,0) || defined(DOXYGEN_RUNNING) 1087 1089 static int vbsf_inode_mkdir(struct user_namespace *ns, struct inode *parent, struct dentry *dentry, umode_t mode) 1088 1090 #elif RTLNX_VER_MIN(3,3,0) … … 1191 1193 * Rename a regular file / directory. 1192 1194 * 1193 * @param old_parent inode of the old parent directory 1194 * @param old_dentry old directory cache entry 1195 * @param new_parent inode of the new parent directory 1196 * @param new_dentry new directory cache entry 1197 * @param flags flags 1195 * @param ns The name space. 1196 * @param old_parent inode of the old parent directory 1197 * @param old_dentry old directory cache entry 1198 * @param new_parent inode of the new parent directory 1199 * @param new_dentry new directory cache entry 1200 * @param flags flags 1198 1201 * @returns 0 on success, Linux error code otherwise 1199 1202 */ 1200 #if RTLNX_VER_MIN(5,12,0) 1203 #if RTLNX_VER_MIN(5,12,0) || defined(DOXYGEN_RUNNING) 1201 1204 static int vbsf_inode_rename(struct user_namespace *ns, 1202 1205 struct inode *old_parent, struct dentry *old_dentry, -
trunk/src/VBox/Additions/linux/sharedfolders/utils.c
r89048 r90043 701 701 #if RTLNX_VER_MIN(2,5,18) 702 702 703 # if RTLNX_VER_MIN(5,12,0)703 # if RTLNX_VER_MIN(5,12,0) 704 704 int vbsf_inode_getattr(struct user_namespace *ns, const struct path *path, 705 struct kstat *kstat, u32 request_mask, unsigned int flags)705 struct kstat *kstat, u32 request_mask, unsigned int flags) 706 706 # elif RTLNX_VER_MIN(4,11,0) 707 707 int vbsf_inode_getattr(const struct path *path, struct kstat *kstat, u32 request_mask, unsigned int flags) -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.h
r88273 r90043 267 267 # if RTLNX_VER_MIN(5,12,0) 268 268 extern int vbsf_inode_getattr(struct user_namespace *ns, const struct path *path, 269 struct kstat *kstat, u32 request_mask, unsigned int query_flags);269 struct kstat *kstat, u32 request_mask, unsigned int query_flags); 270 270 # elif RTLNX_VER_MIN(4,11,0) 271 271 extern int vbsf_inode_getattr(const struct path *path, struct kstat *kstat, u32 request_mask, unsigned int query_flags);
Note:
See TracChangeset
for help on using the changeset viewer.