Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4831
b: refs/heads/master
c: d4b9ba7
h: refs/heads/master
i:
  4829: d7d596c
  4827: 2f1feff
  4823: 362bd5b
  4815: 08e3027
  4799: 26d5eda
v: v3
  • Loading branch information
Anton Altaparmakov committed May 4, 2005
1 parent 1f70f06 commit ac9efee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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: db30d160cd8dfe1e53435fd76f4189778f1c728e
refs/heads/master: d4b9ba7bf6f38cff55b5d95a0db7dd91311ce20a
1 change: 1 addition & 0 deletions trunk/fs/ntfs/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ToDo/Notes:
- Use i_size_read() in fs/ntfs/logfile.c::ntfs_{check,empty}_logfile().
- Use i_size_read() once and then use the cached value in
fs/ntfs/lcnalloc.c::ntfs_cluster_alloc().
- Use i_size_read() in fs/ntfs/file.c::ntfs_file_open().

2.1.22 - Many bug and race fixes and error handling improvements.

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/ntfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
static int ntfs_file_open(struct inode *vi, struct file *filp)
{
if (sizeof(unsigned long) < 8) {
if (vi->i_size > MAX_LFS_FILESIZE)
if (i_size_read(vi) > MAX_LFS_FILESIZE)
return -EFBIG;
}
return generic_file_open(vi, filp);
Expand Down

0 comments on commit ac9efee

Please sign in to comment.