From: Takashi Iwai Date: Fri, 10 May 2013 12:04:11 +0000 (+0200) Subject: vfs: Fix invalid ida_remove() call X-Git-Tag: v3.10-rc4~6^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d477b6079619910dab882fa229cce1f14f86cf8;p=pandora-kernel.git vfs: Fix invalid ida_remove() call When the group id of a shared mount is not allocated, the umount still tries to call mnt_release_group_id(), which eventually hits a kernel warning at ida_remove() spewing a message like: ida_remove called for id=0 which is not allocated. This patch fixes the bug simply checking the group id in the caller. Reported-by: Cristian Rodríguez Signed-off-by: Takashi Iwai Signed-off-by: Al Viro --- Reading git-diff-tree failed