The patch titled revoke: only fput unused files has been added to the -mm tree. Its filename is revoke-core-code-only-fput-unused-files.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: revoke: only fput unused files From: Pekka Enberg <penberg@xxxxxxxxxxxxxx> We should do fput only to files that were not used by the revoke operation. Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/revoke.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) diff -puN fs/revoke.c~revoke-core-code-only-fput-unused-files fs/revoke.c --- a/fs/revoke.c~revoke-core-code-only-fput-unused-files +++ a/fs/revoke.c @@ -130,7 +130,6 @@ static int revoke_fds(struct task_struct } new_filp = revoke_table_get(table); - get_file(new_filp); /* * Replace original struct file pointer with a pointer to @@ -487,7 +486,7 @@ static void free_revoke_table(struct rev { int i; - for (i = 0; i < table->size; i++) + for (i = table->end; i < table->size; i++) fput(table->files[i]); kfree(table->files); _ Patches currently in -mm which might be from penberg@xxxxxxxxxxxxxx are slab-introduce-krealloc.patch slab-introduce-krealloc-fix.patch unionfs-fix-slab-abuses-with-krealloc.patch slab-ensure-cache_alloc_refill-terminates.patch slab-use-num_possible_cpus-in-enable_cpucache.patch slab-dont-allocate-empty-shared-caches.patch slab-numa-kmem_cache-diet.patch slab-mark-set_up_list3s-__init.patch module-use-krealloc.patch slab-use-cpu_lock_.patch revoke-special-mmap-handling.patch revoke-special-mmap-handling-vs-fault-vs-invalidate.patch revoke-core-code.patch revoke-core-code-misc-fixes.patch revoke-core-code-fix-shared-mapping-revoke.patch revoke-core-code-move-magic.patch revoke-core-code-fs-revokec-cleanups-and-bugfix-for-64bit-systems.patch revoke-core-code-revoke-no-revoke-for-nommu.patch revoke-core-code-fix-shared-mapping-revoke-revoke-only-revoke-mappings-for-the-given-inode.patch revoke-core-code-break-cow-for-private-mappings.patch revoke-core-code-generic_file_revoke-stub-for-nommu.patch revoke-core-code-break-cow-fixes.patch revoke-core-code-mapping-revocation.patch revoke-core-code-only-fput-unused-files.patch revoke-support-for-ext2-and-ext3.patch revoke-add-documentation.patch revoke-wire-up-i386-system-calls.patch revoke-wire-up-i386-system-calls-x86_64-fix.patch slab-leaks3-default-y.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html