diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-02-03 21:37:33 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-02-03 21:37:33 +0000 |
commit | 63a697a4174c18ce06348e7ff71507f8a2123c40 (patch) | |
tree | bd77ac3b204e676c0e3d1f254f25c8e4dab15b2a | |
parent | f454914e59f827d70fc2ef03ae31e27810c5f59f (diff) |
Formerly dir-mkdir.c.~4~
-rw-r--r-- | libdiskfs/dir-mkdir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c index 90c70442..6d7f458d 100644 --- a/libdiskfs/dir-mkdir.c +++ b/libdiskfs/dir-mkdir.c @@ -26,14 +26,14 @@ diskfs_S_dir_mkdir (struct protid *dircred, { struct node *dnp; struct node *np = 0; - struct dirstat ds = alloca (diskfs_dirstat_size); + struct dirstat *ds = alloca (diskfs_dirstat_size); int error; if (!dircred) return EOPNOTSUPP; dnp = dircred->po->np; - if (readonly) + if (diskfs_readonly) return EROFS; mutex_lock (&dnp->lock); @@ -47,7 +47,7 @@ diskfs_S_dir_mkdir (struct protid *dircred, if (error != ENOENT) { - diskfs_drop_dirstat (ds); + diskfs_drop_dirstat (dnp, ds); mutex_unlock (&dnp->lock); return error; } |