]> git.baikalelectronics.ru Git - kernel.git/commit
orangefs: ensure the userspace component is unmounted if mount fails
authorMartin Brandenburg <martin@omnibond.com>
Tue, 25 Apr 2017 19:38:05 +0000 (15:38 -0400)
committerMike Marshall <hubcap@omnibond.com>
Wed, 26 Apr 2017 18:33:00 +0000 (14:33 -0400)
commitbf9d625b5cb644b06c8d49d2a3c0a4d7799c2ba9
tree9b57c3faa769863e492560685ea7d9e180fca01c
parent5e9e9deb7d12d0a96c3df111668c27d5a1c1fcfd
orangefs: ensure the userspace component is unmounted if mount fails

If the mount is aborted after userspace has been asked to mount,
userspace must be told to unmount.

Ordinarily orangefs_kill_sb does the unmount.  However it cannot be
called if the superblock has not been set up.  This is a very narrow
window.

The NULL fs_id is not unmounted.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/orangefs-utils.c
fs/orangefs/super.c