mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08:00
xfs: don't reset i_delayed_blks in xfs_iread
i_delayed_blks is set to 0 in xfs_inode_alloc and can't have anything assigned to it until the inode is visible to the VFS. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
parent
2d6051d496
commit
7f02901235
@ -663,8 +663,6 @@ xfs_iread(
|
||||
if (error)
|
||||
goto out_brelse;
|
||||
|
||||
ip->i_delayed_blks = 0;
|
||||
|
||||
/*
|
||||
* Mark the buffer containing the inode as something to keep
|
||||
* around for a while. This helps to keep recently accessed
|
||||
|
Loading…
Reference in New Issue
Block a user