summaryrefslogtreecommitdiff
path: root/sys/fs
AgeCommit message (Collapse)Author
2023-06-27Convert UDF file system code from the depricated tsleep(9)/wakeup(9) to the MPreinoud
friendly condvar(9). No functional change intended.
2023-06-19Fix typo. unknwon -> unknownmsaitoh
2023-06-16s/curent/current/ in comment.andvar
2023-06-03fix various typos in comments and messages.andvar
2023-06-02follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos.andvar
also s/beyound/beyond/ and few others along the way, mainly in comments.
2023-05-28s/Resture/Restore/ and s/restared/restarted/ in comments.andvar
2023-05-17sys/fs/autofs: Remove unused APRINTF macrotkusumi
Remove a debug print macro (originates from DragonFly autofs) I had intentionally kept at the time.
2023-04-29tmpfs: Assert no arithmetic overflow in directory node tn_size.riastradh
Need >2^57 directory entries before this is a problem. If we created a million per second, this would take over 4000 years.
2023-04-29tmpfs: Refuse sizes that overflow round_page.riastradh
Reported-by: syzbot+8dbeee84de15f86df65b@syzkaller.appspotmail.com https://syzkaller.appspot.com/bug?id=4a27b9fe074f8d4b0afbe22969339b8dfdb157e8
2023-04-29tmpfs: Nix trailing whitespace. No functional change intended.riastradh
2023-04-28fix few typos and grammar in comments.andvar
2023-04-03Fix typos: s/trough/through/gutteridge
2023-03-01fs/hfs: Avoid undefined pointer arith in hfslib_reada_node_offsets.riastradh
XXX pullup-8 XXX pullup-9 XXX pullup-10
2023-03-01fs/hfs: Avoid buffer overrun in hfslib_reada_node_offsets.riastradh
XXX pullup-8 XXX pullup-9 XXX pullup-10
2023-02-13s/chacters/characters/ in comments.andvar
2023-02-13When mounting a union file system set its lower mount only on success.hannken
Reported-by: syzbot+b81b69971581b4f4db00@syzkaller.appspotmail.com
2023-02-06Set IMNT_MPSAFE only if all lower layers have it set.hannken
2023-01-29Remove old prototypes from writing that shouldn't have been comitted at all!reinoud
2022-12-11Use genfs_pathconf for VOP_PATHCONF.mlelstv
Fixes bin/57103.
2022-11-21When testing whiteout support on the underlying file systemhannken
union_mount() should not use a NULL componentname as not all file systems can handle it. Use static { LOOKUP, NOCRED } componentname instead. Reported-by: syzbot+ecda308a1dd9652836d0@syzkaller.appspotmail.com Reported-by: syzbot+9b687847ee5f43e94ca3@syzkaller.appspotmail.com Reported-by: syzbot+9f9d1a841734f9f50de2@syzkaller.appspotmail.com
2022-11-10Tmpfs_mount() uses tmpfs_unmount() for cleanup if set_statvfs_info() fails.hannken
This will not work as tmpfs_unmount() needs a suspended file system. Just call set_statvfs_info() before allocating the root vnode and add and use a common error exit label. Reported-by: syzbot+343f2bfea65a32ab4222@syzkaller.appspotmail.com
2022-11-04Add a helper to set or clear lower mount and use it.hannken
Always add a reference to the lower mount. Ride 9.99.105
2022-10-31fix various typos in comments and one output message.andvar
2022-10-07fix few typos in comments.andvar
2022-10-07s/alpahbetics/alphabetics/ in comment.andvar
2022-09-12kmem_alloc -> kmem_zalloc, thanks Rin.christos
2022-09-11catch up; make this compile again.christos
2022-09-11- avoid another credential leak on error from Chris J-Dchristos
(chris at accessvector dot net) - KNF - use kmem
2022-08-27Spell approximately correctly.skrll
2022-08-27Trailing whitespaceskrll
2022-08-07fix various typos in comments, documentation and messages.andvar
mainly s/paramater/parameter/ and s/reduntant/redundant/.
2022-08-06s/blity/bility/ in various words, mainly in comments.andvar
2022-08-05ptyfs: Don't copy out cookies past end of buffer.riastradh
Reported-by: syzbot+2aae7c4eddc796f917e6@syzkaller.appspotmail.com https://syzkaller.appspot.com/bug?id=5fe24c1da952ac2ea498d745d6479bc6be91a751
2022-07-31Don't panic for a negative offset, just fail the operation with EINVAL.mlelstv
2022-07-18Make kqueue event status for vnodes shareable, and for stacked file systemsthorpej
like nullfs, make the upper vnode share that status with the lower vnode. And, lo, NetBSD 9.99.99. Fixes PR kern/56713.
2022-06-01tmpfs_read: respect MNT_NOATIME.hannken
2022-05-28fix various typos in comments, mainly origional->original,andvar
extened->extended, incomming->incoming.
2022-05-24fix various typos in comments, docs and log messages.andvar
2022-05-22fix various small typos, mainly in comments.andvar
2022-05-15s/wich/which in comments.andvar
2022-05-03fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.andvar
2022-05-03No IO_NODELOCKED for unlocked vnode.hannken
2022-05-03Lock devvp for kauth KAUTH_REQ_SYSTEM_MOUNT_DEVICE.hannken
2022-05-03Lock devvp for vinvalbuf().hannken
2022-04-22Fix endian issue with UDF extended attribute handlingreinoud
2022-04-16fix various typos in comments and log messages.andvar
2022-04-16Lock vnode for vinvalbuf().hannken
2022-04-10fix various typos in comments and output/log messages.andvar
2022-04-04fix various typos, mainly in comments.andvar
2022-04-01Fix malformed DPRINTF() macroreinoud