aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/Makefile4
-rw-r--r--libdiskfs/dir-link.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/libdiskfs/Makefile b/libdiskfs/Makefile
index 73686889..606ed954 100644
--- a/libdiskfs/Makefile
+++ b/libdiskfs/Makefile
@@ -1,5 +1,4 @@
-#
-# Copyright (C) 1994,95,96,97,98,99,2000,01,2006
+# Copyright (C) 1994,95,96,97,98,99,2000,01,2006,2012
# Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
@@ -54,7 +53,6 @@ OTHERSRCS = conch-fetch.c conch-set.c dir-clear.c dir-init.c dir-renamed.c \
validate-mode.c validate-group.c validate-author.c validate-flags.c \
validate-rdev.c validate-owner.c extra-version.c
SRCS = $(OTHERSRCS) $(FSSRCS) $(IOSRCS) $(FSYSSRCS) $(IFSOCKSRCS)
-LCLHDRS = diskfs.h priv.h lithp.h fsmutations.h diskfs-pager.h fhandle.h
installhdrs = diskfs.h diskfs-pager.h
MIGSTUBS = fsServer.o ioServer.o fsysServer.o exec_startupServer.o \
diff --git a/libdiskfs/dir-link.c b/libdiskfs/dir-link.c
index 7cc88633..81a45b5f 100644
--- a/libdiskfs/dir-link.c
+++ b/libdiskfs/dir-link.c
@@ -45,7 +45,7 @@ diskfs_S_dir_link (struct protid *dircred,
if (S_ISDIR (np->dn_stat.st_mode))
{
mutex_unlock (&np->lock);
- return EISDIR;
+ return EPERM;
}
mutex_unlock (&np->lock);