[XFS] Complete transition away from linvfs naming convention, finally.
SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:25474a Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
@@ -57,7 +57,7 @@ fs_tosspages(
|
||||
int fiopt)
|
||||
{
|
||||
vnode_t *vp = BHV_TO_VNODE(bdp);
|
||||
struct inode *ip = LINVFS_GET_IP(vp);
|
||||
struct inode *ip = vn_to_inode(vp);
|
||||
|
||||
if (VN_CACHED(vp))
|
||||
truncate_inode_pages(ip->i_mapping, first);
|
||||
@@ -76,7 +76,7 @@ fs_flushinval_pages(
|
||||
int fiopt)
|
||||
{
|
||||
vnode_t *vp = BHV_TO_VNODE(bdp);
|
||||
struct inode *ip = LINVFS_GET_IP(vp);
|
||||
struct inode *ip = vn_to_inode(vp);
|
||||
|
||||
if (VN_CACHED(vp)) {
|
||||
filemap_write_and_wait(ip->i_mapping);
|
||||
@@ -98,7 +98,7 @@ fs_flush_pages(
|
||||
int fiopt)
|
||||
{
|
||||
vnode_t *vp = BHV_TO_VNODE(bdp);
|
||||
struct inode *ip = LINVFS_GET_IP(vp);
|
||||
struct inode *ip = vn_to_inode(vp);
|
||||
|
||||
if (VN_CACHED(vp)) {
|
||||
filemap_fdatawrite(ip->i_mapping);
|
||||
|
Reference in New Issue
Block a user