diff -r 56427f22e969 -r c3880f3b4de8 src/dbfs/link.c --- a/src/dbfs/link.c Tue Oct 21 21:42:17 2008 +0300 +++ b/src/dbfs/link.c Tue Oct 21 21:54:20 2008 +0300 @@ -85,6 +85,7 @@ int err = 0; // check the results + // XXX: reply with ENOTEMPTY if it fails due to this inode being a dir if ((err = dbfs_check_result(res, 1, 0))) goto error; @@ -140,3 +141,4 @@ if ((err = fuse_reply_err(req, err))) EWARNING(err, "fuse_reply_err"); } +