diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-05-10 14:04:11 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-31 21:16:33 +0200 |
commit | 5d477b6079619910dab882fa229cce1f14f86cf8 (patch) | |
tree | 02d3791a335d20f6515b26aa8657b47120105796 /sound/usb/power.h | |
parent | Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (diff) | |
download | linux-5d477b6079619910dab882fa229cce1f14f86cf8.tar.xz linux-5d477b6079619910dab882fa229cce1f14f86cf8.zip |
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 <crrodriguez@opensuse.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'sound/usb/power.h')
0 files changed, 0 insertions, 0 deletions