Changeset 625 for GPL/branches/uniaud32-next/include/linux/fs.h
- Timestamp:
- Jan 3, 2021, 7:20:20 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/include/linux/fs.h
r615 r625 165 165 struct dentry *f_dentry; 166 166 const struct file_operations *f_op; 167 struct inode *f_inode; /* cached value */ 167 168 spinlock_t f_lock; 168 169 atomic_t f_count; … … 182 183 183 184 struct inode { 184 #ifdef TARGET_OS2185 kdev_t i_rdev;186 struct semaphore i_sem;187 union {188 void *generic_ip;189 } u;190 191 #else192 185 void * i_hash; 193 186 void * i_list; … … 225 218 void *generic_ip; 226 219 } u; 227 #endif228 220 }; 229 221 … … 335 327 #define FMODE_STREAM (( fmode_t)0x200000) 336 328 329 static inline struct inode *file_inode(const struct file *f) 330 { 331 return f->f_inode; 332 } 333 337 334 #endif /* _LINUX_FS_H */
Note:
See TracChangeset
for help on using the changeset viewer.