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-20 21:29:37 -0400
commit516cdb68e5b44ca1bef31619f5da8d5e9e298f88 (patch)
treee447d0431f85f0bd3182f621a4676eb6836c674f /fs/qnx4/namei.c
parent32991ab305ace7017c62f8eecbe5eb36dc32e13b (diff)
downloadop-kernel-dev-516cdb68e5b44ca1bef31619f5da8d5e9e298f88.zip
op-kernel-dev-516cdb68e5b44ca1bef31619f5da8d5e9e298f88.tar.gz
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 275327b..e8eb878 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;
OpenPOWER on IntegriCloud