diff options
| author | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
|---|---|---|
| committer | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
| commit | 944d79559d154c12becde0dab327016cf438f46c (patch) | |
| tree | 50c101806f4d3b6585222dda060559eb4f3e005a /fs/afs/dir.c | |
| parent | d087e4bdd24ebe3ae3d0b265b6573ec901af4b4b (diff) | |
| parent | 0f36b018b2e314d45af86449f1a97facb1fbe300 (diff) | |
Merge branch 'master' of /usr/src/ntfs-2.6/
Diffstat (limited to 'fs/afs/dir.c')
| -rw-r--r-- | fs/afs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c index 6682d6d7f294..5c61c24dab2a 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c | |||
| @@ -137,7 +137,7 @@ static inline void afs_dir_check_page(struct inode *dir, struct page *page) | |||
| 137 | #endif | 137 | #endif |
| 138 | 138 | ||
| 139 | /* determine how many magic numbers there should be in this page */ | 139 | /* determine how many magic numbers there should be in this page */ |
| 140 | latter = dir->i_size - (page->index << PAGE_CACHE_SHIFT); | 140 | latter = dir->i_size - page_offset(page); |
| 141 | if (latter >= PAGE_SIZE) | 141 | if (latter >= PAGE_SIZE) |
| 142 | qty = PAGE_SIZE; | 142 | qty = PAGE_SIZE; |
| 143 | else | 143 | else |
