The patch titled NFS: Use SEEK_END instead of hardcoded value has been added to the -mm tree. Its filename is nfs-use-seek_end-instead-of-hardcoded-value.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: NFS: Use SEEK_END instead of hardcoded value From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx> NFS: Use SEEK_END instead of hardcoded value Signed-off-by: Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx> Cc: Trond Myklebust <trond.myklebust@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfs/file.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/nfs/file.c~nfs-use-seek_end-instead-of-hardcoded-value fs/nfs/file.c --- a/fs/nfs/file.c~nfs-use-seek_end-instead-of-hardcoded-value +++ a/fs/nfs/file.c @@ -157,7 +157,7 @@ force_reval: 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) _ Patches currently in -mm which might be from jeffpc@xxxxxxxxxxxxxx are mbcs-use-seek_set-cur.patch eicon-isdn-removed-unused-definitions-for-os_seek_.patch cifs-use-seek_end-instead-of-hardcoded-value.patch nfs-use-seek_end-instead-of-hardcoded-value.patch vfs-use-seek_set-cur.patch sound-core-use-seek_set-cur.patch opl4-use-seek_set-cur.patch gus-use-seek_set-cur.patch mixart-use-seek_set-cur.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html