mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
Merge branch 'xfs-gut-icdinode-4.6' into for-next
This commit is contained in:
commit
a2bbcb60ff
23 changed files with 429 additions and 308 deletions
|
@ -63,7 +63,7 @@ typedef struct xfs_inode {
|
|||
unsigned long i_flags; /* see defined flags below */
|
||||
unsigned int i_delayed_blks; /* count of delay alloc blks */
|
||||
|
||||
xfs_icdinode_t i_d; /* most of ondisk inode */
|
||||
struct xfs_icdinode i_d; /* most of ondisk inode */
|
||||
|
||||
/* VFS inode */
|
||||
struct inode i_vnode; /* embedded VFS inode */
|
||||
|
@ -88,7 +88,7 @@ static inline struct inode *VFS_I(struct xfs_inode *ip)
|
|||
*/
|
||||
static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip)
|
||||
{
|
||||
if (S_ISREG(ip->i_d.di_mode))
|
||||
if (S_ISREG(VFS_I(ip)->i_mode))
|
||||
return i_size_read(VFS_I(ip));
|
||||
return ip->i_d.di_size;
|
||||
}
|
||||
|
@ -369,7 +369,7 @@ static inline int xfs_isiflocked(struct xfs_inode *ip)
|
|||
*/
|
||||
#define XFS_INHERIT_GID(pip) \
|
||||
(((pip)->i_mount->m_flags & XFS_MOUNT_GRPID) || \
|
||||
((pip)->i_d.di_mode & S_ISGID))
|
||||
(VFS_I(pip)->i_mode & S_ISGID))
|
||||
|
||||
int xfs_release(struct xfs_inode *ip);
|
||||
void xfs_inactive(struct xfs_inode *ip);
|
||||
|
@ -405,8 +405,6 @@ int xfs_ifree(struct xfs_trans *, xfs_inode_t *,
|
|||
struct xfs_bmap_free *);
|
||||
int xfs_itruncate_extents(struct xfs_trans **, struct xfs_inode *,
|
||||
int, xfs_fsize_t);
|
||||
int xfs_iunlink(struct xfs_trans *, xfs_inode_t *);
|
||||
|
||||
void xfs_iext_realloc(xfs_inode_t *, int, int);
|
||||
|
||||
void xfs_iunpin_wait(xfs_inode_t *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue