Rebased ref, commits from common ancestor:
dd92a382b176e0cfe01ba2b594ae3531ab17083e unionfs: better handling when copying
up permissions
050392761a992a953eb6ee98a3eebab721d98fc1 Unionfs: better error handling in
rename code when copyups are involved
1ba705040f80426c82dc900d2fbbc92c6f1f71e9 Unionfs: bugfix when renaming symlinks
on readonly branches
5e91fc5e1a379ef0f3e3bfd0d87a576a89e3cacd Unionfs: prevent deadlock with
branch-management code.
8259840821ad05ad7892665c27b2446e9e0ac4e2 Unionfs: rename file->f_dentry
references to file->f_path.dentry
3ceacc37249f24061abff5503575b7cd654325da Unionfs: improved comment above
unionfs_follow_link
80af906029ae51bc3465b5fdfe2dd29e5ea740d9 Unionfs: Change the semantics of sb
info's rwsem
7eefd61e67f8cc1c84c7777cb29790709ebe321e Unionfs: Remove superfluous check for
NULL pointer
8a7cbfde2f1eb271320021c4e71fab6ff8625354 Unionfs: Change
free_dentry_private_info to take a struct dentry
794820483d9377242a392016af67ca472bcb9e01 Unionfs: Cleanup
new_dentry_private_data
cb60ff3137de2ca51c98e9b78bd3b2f08ceac40a Unionfs: document cache-coherency
design and implementation
680cc35adbe14e4f76ca02523a0faa15a12a1e94 Unionfs: cache-coherency calls to
maintain the time invariants
d42231aaf3a2ba4bdfdb35f7749afafa7d96f280 Unionfs: core cache-coherency code
a9f452553a37e203212bda093f19dddb0e0307d6 Unionfs: introduce two functions to
maintain time invariants
1064db08726253307e6f6389813ed2570f9f40cd Unionfs: prototype and location change
for unionfs_get_nlinks
acd97df892711315761a3cecb17ee7e93f6bba2a ecryptfs: update to new API of
fsstack_copy_attr_all
70a4e9adbc58c34d89b2ed2e966fd347ddaa125a fs_stack: simplify generic
attribute-copying function
dd0e96a176a92ea4454218093c56822469d3bd4e Unionfs: m/c/atime invariant checking
debugging code
e8290102084c222b5178dd4c734508b22d94ea8b Unionfs: bugfix in debugging
infrastructure
9673c81258dd4677bbaca9d2eab9b1e57e9e4438 Cache coherency: resync unionfs
data/meta-data when lower files change
185f06220efd31414a47f1dfe32983a8f60d1a5e revert changes to
new_dentry_private_data and document it
be6943bd30a26e67842bab1082b02766c189e9f6 cleanup: convert all instances of
"hidden" to "lower".
97a6da3898e894621772ea16421de661ae7a69ef Fix section marker in header file:
7432e24d17818db3a8042bc7ecce3bf752cad148 minor indentation correction
ce2ba90975218e56cee17a93f1d6f71dcc8e8390 bugfix: add MODULE_LICENSE to mtdsuper
module so it loads
50c1243ae7dd123183a7e74dee202e492f70765a bugfix: properly reset lower inode
start/end range
145a6d52580fe0606f26e1d7f938d3177757fbc9 cleanup: rewrite new_dentry_private
data more simply
cf5b79624367ed0c387f6c746f82ff320a16e3db bugfix: remove extra superblock rwsem
unlock call
66a2899790421561757ff6eaee24abbecad0c237 remove unnecessary comment
029bd5fd345e0b9c5bfffa26aa7837e86e3def32 properly format a multi line comment
af5bb7d0644d6512178791d313c33f39382c23de reformat all lines longer than 80
characters
f3bd59d76f7819f3ee9e76e0ecbf73b62071710f debugging: indent code properly and
cleanups
e09aac76250816c0b2155fe3e86843073481d59f cleanup: reformat all lines longer
than 80 characters
cd87399f3000a5987f2ebffffe1314deedf3534c spell check all strings and comments
82ebf4bb33f70ce53caa8cbbcced1495e7266b2f cleanup: ensure proper comment on
every "#endif"
5f2b93e701c05fc9a99ae47817cbe6a24dd46d56 Revert "Unionfs: Cleanup locking in
new_dentry_private_data"
bd67dce6da4ae0572912030a45601137c43394f5 bugfix: ensure dentry/inode/mnt
validity after a successful ioctl
b626a60efc6f26c2a2fd734414d315008d5aed0f bugfix: release superblock lock at end
of ioctl method
c4a88db6598bf662d4fbe2f41fe141dc2fd75cd4 bug fixes: revalidate dentries passed
to all inode/super operations
5581345291263f76a6d063451550dd0dbf6d8cdd code consistency: ensure that every
#endif has a matching comment
b62356386029b38cbb53cd9b8f452c7d74d693a5 invariants: don't complain if no lower
dentry of a deleted dentry
457f0099e4aa25c87e8960b58d20ff93edad5ed3 invariants: don't complain about
directories with some NULL lower objects
e1013102659880e4a99670857324736c9fd50aa6 Revert "invariants: don't complain
about directories with some NULL lower objects"
8a322dc6b78b6fd3936a0b152ff530c1b250c101 invariants: don't complain about
directories with some NULL lower objects
eefbbf3b371621320b6d65c542ac060a89a0e15a cleanup: rewrite
unionfs_partial_lookup more cleanly and add comments
ba758f373d7a6a91ff7f72234fb3feb5c75b69f6 bug fix: prevent null mntget warning
messages in unionfs_lookup_backend
a3972ecca4c0658b7de6b869055c53fbcc6af34a documentation: expand comments to
unionfs_lookup_backend
49cd0a8890de984da6ec9d47eaf5f42c378b3656 cleanup: remove unnecessary call to
inherit_mnt
26ae59b362d02d9932999529ba15c697cbc3b27a bug fix: don't warn if trying to
mntput a "negative" union object
baf4c68bcfd61b9ba6eaf78f4cbac1b2bd40bef3 bug fix: get lower mnt from root
dentry instead of lower dentry
018418a5c242ea5c34ff9e5689272ad40b545755 Unionfs: allow users to override
Makefile options in fs/unionfs/local.mk
4c59a1a3842acfd5f22180232b413d6036066071 documentation: better comment in
branch_id_to_idx
95aba37d4fe76d206de806c6068c95d2f753b17e bug fix: catch bad use of dirs=
options (extra ':' separators)
e187dda0be72c4490159ea368c575b1810f2bf77 unionfs: merge find_new_branch_index
and branch_id_to_idx into one function
dbeb07b3733781ff8e59e98c22648c968bee31d6 unionfs: minor cleanup and better
commenting in new_dentry_private_data
6df2bc05b65b484a5872b6a4871950222b10615c Unionfs: Cleanup locking in
new_dentry_private_data
469e5339f595e4b1d4968885f7e5d2c0c35cdd76 bugfix: prevent null-deref oops if
lower f/s is NFS (mmap writes)
b17ed3f0da04d91f8de1aa08011b79ff3d3a815c cleanup: use krealloc instead of
open-coding it with kmalloc/kfree/memcpy
f7ce009eb1d0b60147709d7f24ab9adab459453b bugfix: prevent a NULL ptr deref if
branch is nfs and using mmap writes
596ddb2d86046f94a85d8cd82cca0b0c087f9817 bugfix: handle lower file systems that
do not support writeable mappings
6df30d73063391c39a272ede10c1feb56e42855e documentation: comment to ODF
developers to address
c0400eace429c19643b408ab082d51e97d0ab192 bug fix: set lower inodes correctly
after branch management succeeds
4f0efce59ee9d2ce0b29bbd87aa8eecaf50c687e bug fix: prevent self deadlock with
remount code in pivot_root scenarios
814ed899d02ab9831e65850bd459922218c1b8e9 debugging: test for freed (0x5a) inodes
3ff70826ffc6caeab364e6c2acbf6147b1bac675 bugfix: statfs lower file system
properly
a32204e5fd420c393f438c2b26ee727ac9a4c083 Add Erez Zadok to maintainers list
ad470990a587e500f0d353be3e40146379dca151 add standard copyright comment to
linux/union_fs.h
f40a462f25e74b081cce15d6e0d914b7ca1be4e2 d_splice bugfix: update dentry in our
lookup if needed.
21c0417ed28ae81a29cec47554e274963de1f244 mmap: file revalidation and fanout
invariant validation
44422caef65655f8df807fbfdceb6213daca52eb mmap: sync_page bug, call sync_page on
lower page, not unionfs page
c26786659a17e764fe3a1b6b8a3ef1b5663a2881 mmap: also revalidate file passed to
unionfs_release
c9f575f95dd2059fb0660ad19939828536d8bc0f mmap: update atime upon successful
file reading (via mmap or otherwise)
0e331a0a1a9b4e058a3acc44372b2a9019e14437 mmap: proper locking to interoperate
with branch-management code
dfc5f2eec080ded3db429ddd6868c7489d031aff mmap: remove unnecessary unionfs_bmap
method
72bc5ca8db885b70e143c2813f2d77d04a08e893 mmap: trivial sendfile support
81b9841df1da78eb83adce24d2b4333b8eebb1b5 mmap: minor code and comment
reformatting
9768ffccf80bd5bde759c7a0459c9f3b1183950f mmap: #if 0 unneeded code instead of
commenting it out
205bab00ae19afc66307ced5e624f44e8d4fb489 mmap: read upper file instead of lower
file
c19504ffbed56029b38d8604bc92376e10279864 mmap: coding style: reformated a line
longer than 80 chars
7efa272345542be1b7d809fde9619c4b71ccc7e7 mmap: remove defunct comments
ec056ddb1e77b76b77665a57e01c71ab447b1535 mmap: file revalidation
083e21a77996641e36df3317662e6cca0dfd3c78 mmap: applied main mmap patch
2b5278ae2b6784e7e7268c5666cbb3ec98512736 bugfix: fixed interpose to check if
d_splice_alias returns a dentry
bb9f69d835da8d2929baf793467ab2041d0b7c6e debug: remove unnecessarily verbose
debugging printk's
dc29e6102cc248c3bc3b8380706532d6e07008db cleanup: consistent printk messages
071cfec433fb43ee6caa8dbab6233a7c84fe0d4a cleanup: eliminate wrapper function
create_parents
0ebe2b350499a3decf0112932dd6cfc123fdb40d cleanup: eliminate wrapper function
copyup_dentry
35d1697e7ae484f9b470c30155e37259910f754c cleanup: rewrite do_delayed_copyup
more cleanly and clearly
6a09d6ffa9571fabc40c1b47475a51b9bd649cec debugging: small fix to Makefile to
correct #define typo
7f7bef99ff17c86a5de89c9218b6b0f707a039eb cleanup: remove unnecessary macro used
in only one place
45feca76edb9c52d4688e2ed53ae620db326a054 bug fix: don't revalidate dropped
dentries
2a7fa65a802eac47287e5ea19f28fd912a43fc2c bug fix: retry lookup for different
silly-renamed files
065c154c390be258441cc1fba1ee7a5636e27180 Documentation: better comments for
copyup-related code
f4bcacf31c33c5b4bade417c46b6f8d37eb906f9 Verify and maintain fanout invariants.
8328b7aa10dd4c97b5758e5cfe43d4a5a37f7c50 Post-copyup helper functions
2ab80a481dd51238d79338c6b045387ad42731ab Introduce compile-time debugging
support to Unionfs
32867d26c64256763a764073694bdce9990e3eb5 bugfixes: correctly decrement
refcounts of mnt's upon branch management
40b3abc7ab63313b05bfe07a8200bdd0254f9c32 bugfix in BUG_ON use: actually catch
bad use of unionfs_mntput
536074cd85c2fd3ef5e0ca6afe2e3cb1dee75a85 cleanup: removed a trailing whitespace
d12b6a3e681fd80d8674105b9609c41c98b4509b bugfix: remove defunct
unionfs_put_inode method
9ff2cec6c9e616df1cb7e7e99c89c9cfa6d4742b optimize branch overlapping test a bit
ea6a85d233ad9538e507f818fab42323247db9f7 Documentation update regarding
overlapping branches and new lookup code.
e7bc836dfa4e5a0e7a4ba1b3578c0b57404dc2e0 branch management: disallow setting
leftmost branch to readonly
08da4807fea40ce8314ce9f245c1923e76b29e33 fsstack: 4th case to do_path_lookup
4784bb77a64f8aad27d90f47e030b72604265b45 Revert "Unionfs: Check remount options
for being NULL"
7241f883626e545a38c17c48dedeb35f7bb3b45d bugfix: don't leak resources when
copyup fails partially
adcbacec68a50e295935e10c85b689438baf097a cleanup: call our
unionfs_{unlock,lock}_dentry instead of mutex ops.
8ffe63cff5f098484e04dbb97defef857065dd1f cleanup: rename our "do_rename" to
__unionfs_rename.
bc929220e7d11615fcd49bed89df9596bdf48f35 cleanup: rename prefix our version of
double_lock_dentry with "unionfs_"
9fed7b39ec234cb7fa8fc57f6f92e87144aecd22 Cleanup: ensure space between every
comma-delimited function argument list
5a38a56f0ab2a9f5d657ab460183b13e9b3303f0 cleanup: rewrite long while(1) loop
more cleanly
8fcff8cc13d026cd619900d18faef220fddbed66 Move one function off of branchman.c
and remove source file.
0f854b4d19f0aaf8e79e944d7ff839d72c3bf0c8 cleanup: consistent pointer
declaration spacing.
4b2a47f7d96ba22d1e5a6b0803d1afb323276eff Merge unionfs_write with
__unionfs_write.
7464265f1ee001da372b21018643df249d7c9217 cleanup: fix one odd indentation and
long line breakup.
0d9a52fd5f55841528e25d617a11eaffce6f55a7 Commenting the code.
41f656b7706c5f1ce1311f82b119384e93e511bb cleanup: prefix external functions
with 'extern' properly
89145bd4f94eae80c56add219a3228c83b6378ec cleanup: one more trailing whitespace
removed.
24f6eb0a6d822518a224452bef4e24a360b8e1c9 cleanup: spell check all strings and
comments
675920f4a9a281c56abbf185072a964d0a9f693c cleanup: use consistent style for
multi-line comments
423dbb44461623f78b464d4d7af2f3793f745bbd cleanup: keep all top-of-function
automatic variables clustered together
a8f4a26473dd626fe0ef0a33838e0628ce1298da coding-style: remove one more {braces}
around one-statement code block
28d0f0a72f87053da41630ebd4e5c4c81523db62 cleanup: remove unnecessary blank
lines in short code blocks
87df41fda14db7d854e0db8c4338fdbb590f7c0c cleanup: add missing copyright notices
9cd18eb3215343abf742f0c62338df4b2418375e coding-style: reformat lines longer
than 80 chars (accounting for TABs)
0d511bf01e4a548b80015db2f680b361922a1310 cleanup: every printk should prefix
with "unionfs: " consistently
9d4d1b1e9d1f4e3e35c194246db699b09bc9b1aa coding-style: remove unnecessary
{braces} around one-line code blocks
e58e8c845258c810a1118a34b1b1e796d0f57791 coding-style: no lines over 80 chars
3d9c8cfb6c87c8815638bdb58c1e36fabcd006ae coding-style: indent every line
properly
cdb913e90cd5df6cb533e8c295ff65ee90c755c1 cleanup: remove trailing spaces
b131144369b4ec9fe5c929afc70faec094dfe2b3 Documentation: fix spelling error
87b9bb06cdbeebd258c5e1b5de108c6ccf461d79 Documentation: minor typo fixed in
incgen remount option
dc5966175fd70e99dec8261f30535e37c2da46fe Unionfs: SLAB_CTOR_CONSTRUCTOR has
been removed from vanilla
d76831bfe41c7a0425b2949a2d87ecc1b1e9f473 [PATCH] unionfs: fix slab abuses with
krealloc
76d2477d048fd05765607131b2e783732ec1ad7a [PATCH] fix unionfs compilation
c3c17974d3f1acad22000d15d59b8a2d18f3f8c1 Unionfs: Check remount options for
being NULL
436ec48d4ae920dbe42f2efff73fb4127517bf35 Unionfs: Accept MS_SILENT during
remount
3d1d8fb4689a58deebb3e447682a632203f94ba4 Unionfs: Don't inline
do_remount_{add,del,mode}_option
a139e2c061ad57bc2ccec5d4eb2abcf9a195dfd5 Unionfs: Added several BUG_ONs to
assert dentry validity
a11113f2a7620658d6d60bbfc2107cc9d56b579f Unionfs: Properly handle stale inodes
passed to unionfs_permission
ed03480e2db49fe7a13fae26a860501b29722b6b Unionfs: Pass lowernd to lower
->revalidate function
b065f72124d18f0316d0b9ff943b2141c8279226 Unionfs: vfsmount reference counting
fixes
8bfb2878859266e5e46f95c263cf89103b801649 Unionfs: unionfs_create needs to
revalidate the dentry
1a07a96d1d8439d2362afc1c1256c61f20c2a871 Unionfs: Decrement totalopens counter
on error in unionfs_open
097ccc8dc1add3b10c05d2b0cbbf2cac55ac882a Unionfs: Document unionfs_d_release
locking
233c508d431f51585ef3675d6e58963b462426e2 Unionfs: Remove the older incgen ioctl
ffed489156e2bfdcede43e4d0665cc6f2dec8081 Unionfs: Grab the unionfs sb private
data lock around branch info users
790d99b2ff59952d74480ca5df4739a3deb51e8c Unionfs: Rewrite unionfs_d_revalidate
fd3557aaed838ea7baa9656df0ec6d32a8f979ce Unionfs: Introduce unionfs_mnt{get,put}
2661250621b75aba6114182c29d0095126377373 Unionfs: Bulk of branch-management
remount code
ae89b2b719eed7e83eff5237c1ecac4fa44a67bf Unionfs: Introduce branch-id code
1896dc7da6e4ea72a44402b797de219888e02d4e Unionfs: Actually verify if dentry's
info node is locked
65646cdb2fc4d829c9f12af51517e3f87fe71a52 Unionfs: Provide more helpful info on
branch leaks during unmount
584b814812f2f00b3e7b0dc5d7b1697511a5bad0 Unionfs: Rename unionfs_data sbcount
field to more appropriate open_files
0ea22b36eef5f5138b2aecfd8ec07fea43f248ba Unionfs: Proper comment on rwsem field
abb9d91e056e0ba6563bea8ded843b17ec95ee34 Unionfs: Documentation updates for
branch-management
7fbd1891cbc7f2b4168279ff072faf36a0d898d9 fs: Export drop_pagecache_sb symbol
c592a2312de97e04c63faae86bfa99eb0f3beefc fs: Introduce path{get,put}
0e3e77512fc0cd65b04ecdb434dec2cfa8a3f7b5 [PATCH] Unionfs: sioq not __exit
6cb602d321ec0032c7847e328a845fb643374adc MAINTAINERS: Unionfs URL update
905e1bdc9819f510f6c81ae6ce06fad35d932891 fs/unionfs/: Fix unlocking in error
paths
5b503019dcd897a66a62493e67325e0ca4973dc6 fs/unionfs/: Fix dentry leak in
copyup_named_dentry
5f767799a514159e283e5134a87072449099571f fs/unionfs/: mntput in __cleanup_dentry
f9a6a082574003db4fadf8b201b6dd9c6f27eb59 fs/unionfs/: Fix copyup_deleted_file
dentry leak
1c4a2aed912dabe633871a1661bbba1a97c8d3c1 fs/unionfs/: Miscellaneous coding
style fixes
fae0b76ec522a344c7e6ce7aea41c923ac5236f6 fs/unionfs/: Check return value of
d_path
a179c1ad4edd8c96490738d9f38a278b57cc0367 fs/unionfs/: Use SEEK_{SET,CUR}
instead of hardcoded values
eebcb60c66acd631596069cc38030f9ac8b88ac2 fs/unionfs/: Remove alloc_filldir_node
248af6eb0bb7d749fa095a6c8eb5c2f3bce5e906 fs/unionfs/: Rename
unionfs_d_revalidate_wrap
9cbffd5add022ee5d4e0481a6ab269a5f97035f6 fs/unionfs/: Several small cleanups in
unionfs_interpose
d88c08a864b3ca708c41274780c7a628bc77d857 fs/unionfs/: Don't grab dentry private
data mutex in unionfs_d_release
64b1dc048383c1caa44338ebcd51b6287c255fc9 fs/unionfs/: Fix a memory leak in
unionfs_read_super
fee576e8d806e36b07b813d0524dd013837c3ecd fs/unionfs: Fix a memory leak & null
pointer dereference
ab312ab92f214a81f1f5f45809f33f45d1ec3f6c [PATCH] UNION_FS must depend on SLAB
ffa44f79e865456ede0d0833b22acc4c51dd7018 fs/unionfs/: Remove unused structure
members & macros
808011a651f9c2065002ad978ef96ade1dafc68d eCryptfs: convert lookup_one_len() to
lookup_one_len_nd()
855f5aa1c19096f2bb338d91643b3e09654fc950 Unionfs: Documentation update
a7ab59308020cda534b0ee8d551b1362ed118a80 fs/: Move eCryptfs & Unionfs config
options into a sub-menu
c4a891cbda81b6b076c8e9545889bf617f617779 fs/unionfs/: Use __roundup_pow_of_two
instead of custom rounding code
26d759b90d59a1ec89784496285cb896daa43957 fs/unionfs/: Don't duplicate the
struct nameidata
dbc09ce3991794e6ca44b586f060170b77e70c1e fs/unionfs/: Andrew Morton's comments
d9de304ce44fa3cb99e806f342a825bd5594848d fs/unionfs/: possible cleanups
57209572514dcb1bac312eda01d2b641fdbae282 fs/unionfs/: Remove stale_inode.c
dcbd9504e00c89a7681b883eb0143ed9d4f74bf9 Unionfs: Extended Attributes support
d6f38f17f19bcc43f512b93948e5a9d8f31fe1f4 Unionfs: Kconfig and Makefile
2aeddd5c5f01c1108173944ea02fc1ed661545de Unionfs: Unlink
d5cddd35d464c99f3435df27ef6f04822c1e4653 Unionfs: Include file
b39e0cf08e9bc0b83f6dacaccc2a4fdec9c88e8f Unionfs: Internal include file
660d5b5bfc38a64c086741e9ffacb437b31eb824 Unionfs: Helper macros/inlines
70c11127f1b5c9479a1b72e5c7b0737329c257e5 Unionfs: Handling of stale inodes
ba71ff71296b03e178b4b0cf53af9ef4e8321e42 Unionfs: Superblock operations
9f21b8f2a3f2655eca9febf0935ff367348de05e Unionfs: Miscellaneous helper functions
f94a4959af38a218c837dbdb8c041b1e5685bc04 Unionfs: Privileged operations
workqueue
cc7b6a11c04ffa2050b64ea6cbc78af8d812da8c Unionfs: Rename
a9462ec06bd3831c256c8bc140b6a3884fd31c09 Unionfs: Readdir state
8483a4bbc0adaa75bc479d3922d292682e1330ff Unionfs: Main module functions
7d2e9f1f1ea5ad2b3872f5c0edcfd5069e06bdbe Unionfs: Lookup helper functions
eb6231eebcd42a0c356c81be808b64e404018cf2 Unionfs: Inode operations
6b5d601cae5054dd6893d05fc3c2f036b664bea0 Unionfs: Directory manipulation helper
functions
bdf034395d4a367668547a374bee169ddc640de0 Unionfs: Directory file operations
488cdf260cd935d169dd86de66c331988d46e2d8 Unionfs: File operations
57f65a9b9c9804e7449e130f2a12eb8e531d332b Unionfs: Dentry operations
0da124fbb1f48818025020b011b3380d3f203031 Unionfs: Copyup Functionality
b6c2f08401018db0bc4f146070e0dc284c9d7f07 Unionfs: Common file operations
f5c2f8bebf986180d1a5b23854719c20d48598a4 Unionfs: Branch management
functionality
960d3958956d17b18877dd2db6710f7c9ac05f73 lookup_one_len_nd - lookup_one_len
with nameidata argument
148f8c685601be9278822242d3d6ba7200c91bd7 Unionfs: Documentation
f44bba1a92e01bbab6ca9817b86ddf9e1744a616 Linux 2.6.22.1
8b1d585987bbac55cde85650b47b8eaebce54e13 NETFILTER: {ip, nf}_conntrack_sctp:
fix remotely triggerable NULL ptr dereference (CVE-2007-2876)
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs