The patch titled eCryptfs: mntput() lower mount on umount_begin() has been added to the -mm tree. Its filename is ecryptfs-mntput-lower-mount-on-umount_begin.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: eCryptfs: mntput() lower mount on umount_begin() From: Michael Halcrow <mhalcrow@xxxxxxxxxx> On unmount, eCryptfs needs to decrement the mount count of the lower mount, or else you cannot unmount the lower filesystem. Signed-off-by: Michael Halcrow <mhalcrow@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ecryptfs/super.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff -puN fs/ecryptfs/super.c~ecryptfs-mntput-lower-mount-on-umount_begin fs/ecryptfs/super.c --- a/fs/ecryptfs/super.c~ecryptfs-mntput-lower-mount-on-umount_begin +++ a/fs/ecryptfs/super.c @@ -144,10 +144,7 @@ static void ecryptfs_clear_inode(struct /** * ecryptfs_umount_begin * - * Called in do_umount() if the MNT_FORCE flag was used and this - * function is defined. See comment in linux/fs/super.c:do_umount(). - * Used only in nfs, to kill any pending RPC tasks, so that subsequent - * code can actually succeed and won't leave tasks that need handling. + * Called in do_umount(). */ static void ecryptfs_umount_begin(struct vfsmount *vfsmnt, int flags) { @@ -155,6 +152,7 @@ static void ecryptfs_umount_begin(struct ecryptfs_dentry_to_lower_mnt(vfsmnt->mnt_sb->s_root); struct super_block *lower_sb; + mntput(lower_mnt); lower_sb = lower_mnt->mnt_sb; if (lower_sb->s_op->umount_begin) lower_sb->s_op->umount_begin(lower_mnt, flags); _ Patches currently in -mm which might be from mhalcrow@xxxxxxxxxx are lsm-remove-bsd-secure-level-security-module.patch ecryptfs-fs-makefile-and-fs-kconfig.patch ecryptfs-fs-makefile-and-fs-kconfig-kconfig-help-update.patch ecryptfs-documentation.patch ecryptfs-makefile.patch ecryptfs-main-module-functions.patch ecryptfs-header-declarations.patch ecryptfs-superblock-operations.patch ecryptfs-dentry-operations.patch ecryptfs-file-operations.patch ecryptfs-inode-operations.patch ecryptfs-mmap-operations.patch ecryptfs-mmap-operations-fix.patch ecryptfs-keystore.patch ecryptfs-crypto-functions.patch ecryptfs-crypto-functions-mutex-fixes.patch fs-ecryptfs-possible-cleanups.patch ecryptfs-debug-functions.patch ecryptfs-alpha-build-fix.patch ecryptfs-convert-assert-to-bug_on.patch ecryptfs-remove-pointless-bug_ons.patch ecryptfs-remove-unnecessary-null-checks.patch ecryptfs-rewrite-ecryptfs_fsync.patch ecryptfs-overhaul-file-locking.patch ecryptfs-dont-muck-with-the-existing-nameidata-structures.patch ecryptfs-asm-scatterlisth-linux-scatterlisth.patch ecryptfs-support-for-larger-maximum-key-size.patch ecryptfs-add-codes-for-additional-ciphers.patch ecryptfs-unencrypted-key-size-based-on-encrypted-key-size.patch ecryptfs-packet-and-key-management-update-for-variable-key-size.patch ecryptfs-add-ecryptfs_-prefix-to-mount-options-key-size-parameter.patch ecryptfs-set-the-key-size-from-the-default-for-the-mount.patch ecryptfs-check-for-weak-keys.patch ecryptfs-add-define-values-for-cipher-codes-from-rfc2440-openpgp.patch ecryptfs-convert-bits-to-bytes.patch ecryptfs-more-elegant-aes-key-size-manipulation.patch ecryptfs-more-intelligent-use-of-tfm-objects.patch ecryptfs-remove-debugging-cruft.patch ecryptfs-get_sb_dev-fix.patch ecryptfs-validate-minimum-header-extent-size.patch ecryptfs-validate-body-size.patch ecryptfs-validate-packet-length-prior-to-parsing-add-comments.patch ecryptfs-use-the-passed-in-max-value-as-the-upper-bound.patch ecryptfs-change-the-maximum-size-check-when-writing-header.patch ecryptfs-print-the-actual-option-that-is-problematic.patch ecryptfs-add-a-maintainers-entry.patch ecryptfs-partial-signed-integer-to-size_t-conversion-updated-ii.patch ecryptfs-graceful-handling-of-mount-error.patch ecryptfs-fix-printk-format-warnings.patch ecryptfs-associate-vfsmount-with-dentry-rather-than-superblock.patch ecryptfs-mntput-lower-mount-on-umount_begin.patch fs-kconfig-split-ecryptfs.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