summaryrefslogtreecommitdiffstats
path: root/fs/qnx4/namei.c
diff options
context:
space:
mode:
authorKai Bankett <chaosman@ontika.net>2012-02-13 02:43:41 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-21 02:29:37 +0100
commit516cdb68e5b44ca1bef31619f5da8d5e9e298f88 (patch)
treee447d0431f85f0bd3182f621a4676eb6836c674f /fs/qnx4/namei.c
parentvfs: d_alloc_root() gone (diff)
downloadlinux-516cdb68e5b44ca1bef31619f5da8d5e9e298f88.tar.xz
linux-516cdb68e5b44ca1bef31619f5da8d5e9e298f88.zip
qnx4fs: small cleanup
Small qnx4 cleanup patch. - removes .writepage, .write_begin and .write_end (+callback functions) - removes '.' path checking in namei.c (handled on upper layers) Signed-off-by: Kai Bankett <chaosman@ontika.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/qnx4/namei.c')
-rw-r--r--fs/qnx4/namei.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/qnx4/namei.c b/fs/qnx4/namei.c
index 275327b5615e..e8eb8784ed30 100644
--- a/fs/qnx4/namei.c
+++ b/fs/qnx4/namei.c
@@ -39,10 +39,6 @@ static int qnx4_match(int len, const char *name,
} else {
namelen = QNX4_SHORT_NAME_MAX;
}
- /* "" means "." ---> so paths like "/usr/lib//libc.a" work */
- if (!len && (de->di_fname[0] == '.') && (de->di_fname[1] == '\0')) {
- return 1;
- }
thislen = strlen( de->di_fname );
if ( thislen > namelen )
thislen = namelen;