The patch titled use symbolic constants in generic lseek code has been removed from the -mm tree. Its filename was use-symbolic-constants-in-generic-lseek-code.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: use symbolic constants in generic lseek code From: Chris Snook <csnook@xxxxxxxxxx> Convert magic numbers to SEEK_* values from fs.h Signed-off-by: Chris Snook <csnook@xxxxxxxxxx> Acked-by: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/read_write.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff -puN fs/read_write.c~use-symbolic-constants-in-generic-lseek-code fs/read_write.c --- a/fs/read_write.c~use-symbolic-constants-in-generic-lseek-code +++ a/fs/read_write.c @@ -37,10 +37,10 @@ loff_t generic_file_llseek(struct file * mutex_lock(&inode->i_mutex); switch (origin) { - case 2: + case SEEK_END: offset += inode->i_size; break; - case 1: + case SEEK_CUR: offset += file->f_pos; } retval = -EINVAL; @@ -63,10 +63,10 @@ loff_t remote_llseek(struct file *file, lock_kernel(); switch (origin) { - case 2: + case SEEK_END: offset += i_size_read(file->f_path.dentry->d_inode); break; - case 1: + case SEEK_CUR: offset += file->f_pos; } retval = -EINVAL; @@ -94,10 +94,10 @@ loff_t default_llseek(struct file *file, lock_kernel(); switch (origin) { - case 2: + case SEEK_END: offset += i_size_read(file->f_path.dentry->d_inode); break; - case 1: + case SEEK_CUR: offset += file->f_pos; } retval = -EINVAL; _ Patches currently in -mm which might be from csnook@xxxxxxxxxx are origin.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