VirtualBox

Changeset 90043 in vbox for trunk/src/VBox/Additions/linux


Ignore:
Timestamp:
Jul 6, 2021 8:23:19 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145537
Message:

vboxsf: style fixes. bugref:9976

Location:
trunk/src/VBox/Additions/linux/sharedfolders
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/dirops.c

    r88273 r90043  
    10391039 * Create a new regular file.
    10401040 *
    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...
    10451046 * @returns 0 on success, Linux error code otherwise
    10461047 */
    1047 #if RTLNX_VER_MIN(5,12,0)
     1048#if RTLNX_VER_MIN(5,12,0) || defined(DOXYGEN_RUNNING)
    10481049static 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)
    10501051static int vbsf_inode_create(struct inode *parent, struct dentry *dentry, umode_t mode, bool excl)
    10511052#elif RTLNX_VER_MIN(3,3,0)
     
    10791080 * Create a new directory.
    10801081 *
    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
    10841086 * @returns 0 on success, Linux error code otherwise
    10851087 */
    1086 #if RTLNX_VER_MIN(5,12,0)
     1088#if RTLNX_VER_MIN(5,12,0) || defined(DOXYGEN_RUNNING)
    10871089static int vbsf_inode_mkdir(struct user_namespace *ns, struct inode *parent, struct dentry *dentry, umode_t mode)
    10881090#elif RTLNX_VER_MIN(3,3,0)
     
    11911193 * Rename a regular file / directory.
    11921194 *
    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
    11981201 * @returns 0 on success, Linux error code otherwise
    11991202 */
    1200 #if RTLNX_VER_MIN(5,12,0)
     1203#if RTLNX_VER_MIN(5,12,0) || defined(DOXYGEN_RUNNING)
    12011204static int vbsf_inode_rename(struct user_namespace *ns,
    12021205                             struct inode *old_parent, struct dentry *old_dentry,
  • trunk/src/VBox/Additions/linux/sharedfolders/utils.c

    r89048 r90043  
    701701#if RTLNX_VER_MIN(2,5,18)
    702702
    703 #if RTLNX_VER_MIN(5,12,0)
     703# if RTLNX_VER_MIN(5,12,0)
    704704int 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)
    706706# elif RTLNX_VER_MIN(4,11,0)
    707707int 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  
    267267# if RTLNX_VER_MIN(5,12,0)
    268268extern 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);
    270270# elif RTLNX_VER_MIN(4,11,0)
    271271extern 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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette