Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34816
b: refs/heads/master
c: aec5e17
h: refs/heads/master
v: v3
  • Loading branch information
Josef 'Jeff' Sipek authored and Trond Myklebust committed Sep 23, 2006
1 parent ef8e8ab commit 835c6bf
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 51b6ded4d9a94a61035deba1d8f51a54e3a3dd86
refs/heads/master: aec5e175288c711cbe44750276f61efa3fa3d370
2 changes: 1 addition & 1 deletion trunk/fs/nfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ static int nfs_revalidate_file_size(struct inode *inode, struct file *filp)
static loff_t nfs_file_llseek(struct file *filp, loff_t offset, int origin)
{
/* origin == SEEK_END => we must revalidate the cached file length */
if (origin == 2) {
if (origin == SEEK_END) {
struct inode *inode = filp->f_mapping->host;
int retval = nfs_revalidate_file_size(inode, filp);
if (retval < 0)
Expand Down

0 comments on commit 835c6bf

Please sign in to comment.