The patch titled CIFS: Use SEEK_END instead of hardcoded value has been added to the -mm tree. Its filename is cifs-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: CIFS: Use SEEK_END instead of hardcoded value From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx> CIFS: Use SEEK_END instead of hardcoded value Signed-off-by: Josef 'Jeff' Sipek <jeffpc@xxxxxxxxxxxxxx> Cc: Steven French <sfrench@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/cifs/cifsfs.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN fs/cifs/cifsfs.c~cifs-use-seek_end-instead-of-hardcoded-value fs/cifs/cifsfs.c --- a/fs/cifs/cifsfs.c~cifs-use-seek_end-instead-of-hardcoded-value +++ a/fs/cifs/cifsfs.c @@ -509,7 +509,7 @@ static ssize_t cifs_file_aio_write(struc static loff_t cifs_llseek(struct file *file, loff_t offset, int origin) { /* origin == SEEK_END => we must revalidate the cached file length */ - if (origin == 2) { + if (origin == SEEK_END) { int retval = cifs_revalidate(file->f_dentry); if (retval < 0) return (loff_t)retval; _ 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