Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47563
b: refs/heads/master
c: 54bc485
h: refs/heads/master
i:
  47561: d29951d
  47559: 2b3e95b
v: v3
  • Loading branch information
Anton Altaparmakov authored and Linus Torvalds committed Feb 11, 2007
1 parent 072ab71 commit 551e22f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5449bc94152a6c4700f46786be600141234d8f0f
refs/heads/master: 54bc485522afdac33de5504da2ea8cdcc690674e
8 changes: 7 additions & 1 deletion trunk/include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,13 @@ extern int invalidate_partition(struct gendisk *, int);
extern int invalidate_inodes(struct super_block *);
unsigned long invalidate_mapping_pages(struct address_space *mapping,
pgoff_t start, pgoff_t end);
unsigned long invalidate_inode_pages(struct address_space *mapping);

static inline unsigned long
invalidate_inode_pages(struct address_space *mapping)
{
return invalidate_mapping_pages(mapping, 0, ~0UL);
}

static inline void invalidate_remote_inode(struct inode *inode)
{
if (S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
Expand Down
7 changes: 1 addition & 6 deletions trunk/mm/truncate.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,7 @@ unsigned long invalidate_mapping_pages(struct address_space *mapping,
}
return ret;
}

unsigned long invalidate_inode_pages(struct address_space *mapping)
{
return invalidate_mapping_pages(mapping, 0, ~0UL);
}
EXPORT_SYMBOL(invalidate_inode_pages);
EXPORT_SYMBOL(invalidate_mapping_pages);

/*
* This is like invalidate_complete_page(), except it ignores the page's
Expand Down

0 comments on commit 551e22f

Please sign in to comment.