Ignore:
Timestamp:
Jan 3, 2021, 7:20:20 AM (5 years ago)
Author:
Paul Smedley
Message:

Code cleanups to simplify future maintenance, update regmap/regcache/rbtree to linux 4.19.163 level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/include/linux/fs.h

    r615 r625  
    165165        struct dentry           *f_dentry;
    166166        const struct file_operations    *f_op;
     167        struct inode            *f_inode;       /* cached value */
    167168        spinlock_t              f_lock;
    168169        atomic_t                f_count;
     
    182183
    183184struct inode {
    184 #ifdef TARGET_OS2
    185         kdev_t                  i_rdev;
    186         struct semaphore        i_sem;
    187         union {
    188                 void            *generic_ip;
    189         } u;
    190 
    191 #else
    192185         void * i_hash;
    193186         void * i_list;
     
    225218                void                            *generic_ip;
    226219        } u;
    227 #endif
    228220};
    229221
     
    335327#define FMODE_STREAM            (( fmode_t)0x200000)
    336328
     329static inline struct inode *file_inode(const struct file *f)
     330{
     331        return f->f_inode;
     332}
     333
    337334#endif /* _LINUX_FS_H */
Note: See TracChangeset for help on using the changeset viewer.