diff options
author | Chunwei Chen <[email protected]> | 2015-12-11 15:24:34 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2015-12-14 12:06:31 -0800 |
commit | 199766017076de5bddd0dad4f95f29361fc04169 (patch) | |
tree | f5db30f485fb80997e1c5c3d07488133362eb820 /META | |
parent | 5ed27c572cbb051cbed91a9cce1355312fa7913b (diff) |
Fix snapshot automount race cause EREMOTE
When a concorrent mount finishes just before calling to
zfsctl_snapshot_ismounted, if we return EISDIR, the VFS will return
with EREMOTE. We should instead just return 0, so VFS may retry and
would likely notice the dentry is alreadly mounted. This will be
inline with when usermode helper return EBUSY.
Signed-off-by: Chunwei Chen <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'META')
0 files changed, 0 insertions, 0 deletions