diff options
author | Roland McGrath <roland@gnu.org> | 2002-01-04 02:35:25 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-01-04 02:35:25 +0000 |
commit | aca5ba7fc76dca693cdf4539354daa6e4e27a2ac (patch) | |
tree | 1613c3d4228d664d88718b1f03bb0c226508b0ff /libdiskfs/dir-lookup.c | |
parent | 587b5be05c41ee13059e8c1fbcf5f021f5d29d02 (diff) | |
download | hurd-aca5ba7fc76dca693cdf4539354daa6e4e27a2ac.tar.gz hurd-aca5ba7fc76dca693cdf4539354daa6e4e27a2ac.tar.bz2 hurd-aca5ba7fc76dca693cdf4539354daa6e4e27a2ac.zip |
2002-01-03 Roland McGrath <roland@frob.com>
* dir-lookup.c (diskfs_S_dir_lookup): Clear S_ITRANS bits in MODE.
* dir-mkdir.c (diskfs_S_dir_mkdir): Likewise.
* dir-mkfile.c (diskfs_S_dir_mkfile): Likewise.
Diffstat (limited to 'libdiskfs/dir-lookup.c')
-rw-r--r-- | libdiskfs/dir-lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index 4838b8c7..fe68251e 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -183,7 +183,7 @@ diskfs_S_dir_lookup (struct protid *dircred, { if (error == ENOENT) { - mode &= ~(S_IFMT | S_ISPARE | S_ISVTX); + mode &= ~(S_IFMT | S_ISPARE | S_ISVTX | S_ITRANS); mode |= S_IFREG; error = diskfs_create_node (dnp, path, mode, &np, dircred, ds); if (diskfs_synchronous) |