diff --git a/[refs] b/[refs] index 6c013815da9b..da82ad1e3b10 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 51b6ded4d9a94a61035deba1d8f51a54e3a3dd86 +refs/heads/master: aec5e175288c711cbe44750276f61efa3fa3d370 diff --git a/trunk/fs/nfs/file.c b/trunk/fs/nfs/file.c index a146ed338534..be997d649127 100644 --- a/trunk/fs/nfs/file.c +++ b/trunk/fs/nfs/file.c @@ -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)