]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: remove bogus remapping of error in cifs_filldir()
authorSuresh Jayaraman <sjayaraman@suse.de>
Mon, 6 Dec 2010 08:15:50 +0000 (13:45 +0530)
committerSteve French <sfrench@us.ibm.com>
Wed, 8 Dec 2010 18:47:54 +0000 (18:47 +0000)
commit349a8d0c8df1ce43d5d73302de7b0eae2bc386de
treee2a0b2f523bf3c51e361c3735db359878e1d868f
parent296eda02cf8200bed5abe3e3cc9eda5fd2cb2691
cifs: remove bogus remapping of error in cifs_filldir()

As the FIXME points out correctly, now filldir() itself returns -EOVERFLOW if
it not possible to represent the inode number supplied by the filesystem in
the field provided by userspace.

Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/readdir.c