diff --git a/[refs] b/[refs] index fd71143bde17..2f4a38d58cd4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 021a52ac70802a94e699badb52af9d0fa728d5cd +refs/heads/master: 243393c90f2b7cb781fd794e22786e9c8547901a diff --git a/trunk/include/linux/zlib.h b/trunk/include/linux/zlib.h index 850076ea14d3..74f7b78c22d2 100644 --- a/trunk/include/linux/zlib.h +++ b/trunk/include/linux/zlib.h @@ -506,6 +506,11 @@ extern int zlib_deflateReset (z_streamp strm); stream state was inconsistent (such as zalloc or state being NULL). */ +static inline unsigned long deflateBound(unsigned long s) +{ + return s + ((s + 7) >> 3) + ((s + 63) >> 6) + 11; +} + extern int zlib_deflateParams (z_streamp strm, int level, int strategy); /* Dynamically update the compression level and compression strategy. The