This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Parses DHCP options from openvpn to update resolv.conf | |
# To use set as 'up' and 'down' script in your openvpn *.conf: | |
# up /etc/openvpn/update-resolv-conf | |
# down /etc/openvpn/update-resolv-conf | |
# | |
# Used snippets of resolvconf script by Thomas Hood <[email protected]> | |
# and Chris Hanson | |
# Licensed under the GNU GPL. See /usr/share/common-licenses/GPL. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c | |
index da41a0c371bc..1e77371035ac 100644 | |
--- a/fs/btrfs/file.c | |
+++ b/fs/btrfs/file.c | |
@@ -1846,6 +1846,29 @@ static ssize_t check_direct_IO(struct btrfs_fs_info *fs_info, | |
return 0; | |
} | |
+static size_t dio_fault_in_size(const struct iov_iter *iov, size_t prev_left) | |
+{ |
OlderNewer