git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
fs
/
xfs
/
linux-2.6
/
xfs_fs_subr.c
diff --git
a/fs/xfs/linux-2.6/xfs_fs_subr.c
b/fs/xfs/linux-2.6/xfs_fs_subr.c
index
575f2a7
..
4fa4b1a
100644
(file)
--- a/
fs/xfs/linux-2.6/xfs_fs_subr.c
+++ b/
fs/xfs/linux-2.6/xfs_fs_subr.c
@@
-57,7
+57,7
@@
fs_tosspages(
int fiopt)
{
vnode_t *vp = BHV_TO_VNODE(bdp);
int fiopt)
{
vnode_t *vp = BHV_TO_VNODE(bdp);
- struct inode *ip =
vn_to_inode
(vp);
+ struct inode *ip =
LINVFS_GET_IP
(vp);
if (VN_CACHED(vp))
truncate_inode_pages(ip->i_mapping, first);
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);
int fiopt)
{
vnode_t *vp = BHV_TO_VNODE(bdp);
- struct inode *ip =
vn_to_inode
(vp);
+ struct inode *ip =
LINVFS_GET_IP
(vp);
if (VN_CACHED(vp)) {
filemap_write_and_wait(ip->i_mapping);
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);
int fiopt)
{
vnode_t *vp = BHV_TO_VNODE(bdp);
- struct inode *ip =
vn_to_inode
(vp);
+ struct inode *ip =
LINVFS_GET_IP
(vp);
if (VN_CACHED(vp)) {
filemap_fdatawrite(ip->i_mapping);
if (VN_CACHED(vp)) {
filemap_fdatawrite(ip->i_mapping);