{"push_id":1035787869,"size":12,"distinct_size":12,"ref":"refs/heads/cm-13.0","head":"0a7e0aca883ddc66f851a966330b1be1b5c7e14d","before":"c716726651369114857740fba45efe548bd9bf14","commits":[{"sha":"c1981ea0c113b1474a3004192468eb6e563a704e","author":{"email":"71255387a32c360dfbe6dfb7aaeb123bf1dc8cb6@kernel.org","name":"Jaegeuk Kim"},"message":"fs crypto: move per-file encryption from f2fs tree to fs/crypto\n\nThis patch adds the renamed functions moved from the f2fs crypto files.\n\n1. definitions for per-file encryption used by ext4 and f2fs.\n\n2. crypto.c for encrypt/decrypt functions\n a. IO preparation:\n  - fscrypt_get_ctx / fscrypt_release_ctx\n b. before IOs:\n  - fscrypt_encrypt_page\n  - fscrypt_decrypt_page\n  - fscrypt_zeroout_range\n c. after IOs:\n  - fscrypt_decrypt_bio_pages\n  - fscrypt_pullback_bio_page\n  - fscrypt_restore_control_page\n\n3. policy.c supporting context management.\n a. For ioctls:\n  - fscrypt_process_policy\n  - fscrypt_get_policy\n b. For context permission\n  - fscrypt_has_permitted_context\n  - fscrypt_inherit_context\n\n4. keyinfo.c to handle permissions\n  - fscrypt_get_encryption_info\n  - fscrypt_free_encryption_info\n\n5. fname.c to support filename encryption\n a. general wrapper functions\n  - fscrypt_fname_disk_to_usr\n  - fscrypt_fname_usr_to_disk\n  - fscrypt_setup_filename\n  - fscrypt_free_filename\n\n b. specific filename handling functions\n  - fscrypt_fname_alloc_buffer\n  - fscrypt_fname_free_buffer\n\n6. Makefile and Kconfig\n\nCc: Al Viro <viro@ftp.linux.org.uk>\nSigned-off-by: Michael Halcrow <mhalcrow@google.com>\nSigned-off-by: Ildar Muslukhov <ildarm@google.com>\nSigned-off-by: Uday Savagaonkar <savagaon@google.com>\nSigned-off-by: Theodore Ts'o <tytso@mit.edu>\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/c1981ea0c113b1474a3004192468eb6e563a704e"},{"sha":"a44d51e96b7bc2e0cd599980b662fe4637a861a2","author":{"email":"d033e22ae348aeb5660fc2140aec35850c4da997@jollaman999.com","name":"jollaman999"},"message":"bullhead_defconfig: Update defconfig","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/a44d51e96b7bc2e0cd599980b662fe4637a861a2"},{"sha":"9a726aad4bbf5e96b54ad835c076d9debc29878a","author":{"email":"71255387a32c360dfbe6dfb7aaeb123bf1dc8cb6@kernel.org","name":"Jaegeuk Kim"},"message":"f2fs crypto: sync ext4_lookup and ext4_file_open\n\nThis patch tries to catch up with lookup and open policies in ext4.\n\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/9a726aad4bbf5e96b54ad835c076d9debc29878a"},{"sha":"1985821cfec2112792dde6682f7825089b8ed438","author":{"email":"40fa222093af74e50b91d50c0739733d849f8792@samsung.com","name":"Fan Li"},"message":"f2fs: modify the readahead method in ra_node_page()\n\nra_node_page() is used to read ahead one node page. Comparing to regular\nread, it's faster because it doesn't wait for IO completion.\nBut if it is called twice for reading the same block, and the IO request\nfrom the first call hasn't been completed before the second call, the second\ncall will have to wait until the read is over.\n\nHere use the code in __do_page_cache_readahead() to solve this problem.\nIt does nothing when someone else already puts the page in mapping. The\nstatus of page should be assured by whoever puts it there.\nThis implement also prevents alteration of page reference count.\n\nSigned-off-by: Fan li <fanofcode.li@samsung.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/1985821cfec2112792dde6682f7825089b8ed438"},{"sha":"a9eafd08cd5fcf8ba6b82a6617ec40ac2d9d64ab","author":{"email":"55601934c4a00649ed66ddbfab3a717d95d7a73d@gmail.com","name":"Keith Mok"},"message":"f2fs: use cryptoapi crc32 functions\n\nThe crc function is done bit by bit.\nOptimize this by use cryptoapi\ncrc32 function which is backed by h/w acceleration.\n\nSigned-off-by: Keith Mok <ek9852@gmail.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>\n\n Conflicts:\n\tfs/f2fs/f2fs.h","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/a9eafd08cd5fcf8ba6b82a6617ec40ac2d9d64ab"},{"sha":"45db7c368b92a306ed9703cf247a4fd4e099d339","author":{"email":"71255387a32c360dfbe6dfb7aaeb123bf1dc8cb6@kernel.org","name":"Jaegeuk Kim"},"message":"f2fs: declare static functions\n\nJust to avoid sparse warnings.\n\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/45db7c368b92a306ed9703cf247a4fd4e099d339"},{"sha":"8c54d1fa0365d5594cfd183e0986f71fd4a4dc7b","author":{"email":"7541be01877451da3923f28c4a2bf379fc4b0591@kernel.org","name":"Chao Yu"},"message":"f2fs: clean up opened code with f2fs_update_dentry\n\nJust clean up opened code with existing function, no logic change.\n\nSigned-off-by: Chao Yu <chao@kernel.org>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/8c54d1fa0365d5594cfd183e0986f71fd4a4dc7b"},{"sha":"1b6a21f7b585d01e534e295df3e137915644696a","author":{"email":"7541be01877451da3923f28c4a2bf379fc4b0591@kernel.org","name":"Chao Yu"},"message":"f2fs: fix to avoid unneeded unlock_new_inode\n\nDuring ->lookup, I_NEW state of inode was been cleared in f2fs_iget,\nso in error path, we don't need to clear it again.\n\nSigned-off-by: Chao Yu <chao@kernel.org>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/1b6a21f7b585d01e534e295df3e137915644696a"},{"sha":"9f196c7a60651a346aa328e41a1d4ebfd69df66d","author":{"email":"f2c659f01951776204a6c5b902787d9019fbeebd@arndb.de","name":"Arnd Bergmann"},"message":"f2fs: add missing argument to f2fs_setxattr stub\n\nThe f2fs_setxattr() prototype for CONFIG_F2FS_FS_XATTR=n has\nbeen wrong for a long time, since 8ae8f1627f39 (\"f2fs: support\nxattr security labels\"), but there have never been any callers,\nso it did not matter.\n\nNow, the function gets called from f2fs_ioc_keyctl(), which\ncauses a build failure:\n\nfs/f2fs/file.c: In function 'f2fs_ioc_keyctl':\ninclude/linux/stddef.h:7:14: error: passing argument 6 of 'f2fs_setxattr' makes integer from pointer without a cast [-Werror=int-conversion]\n #define NULL ((void *)0)\n              ^\nfs/f2fs/file.c:1599:27: note: in expansion of macro 'NULL'\n     value, F2FS_KEY_SIZE, NULL, type);\n                           ^\nIn file included from ../fs/f2fs/file.c:29:0:\nfs/f2fs/xattr.h:129:19: note: expected 'int' but argument is of type 'void *'\n static inline int f2fs_setxattr(struct inode *inode, int index,\n                   ^\nfs/f2fs/file.c:1597:9: error: too many arguments to function 'f2fs_setxattr'\n  return f2fs_setxattr(inode, F2FS_XATTR_INDEX_KEY,\n         ^\nIn file included from ../fs/f2fs/file.c:29:0:\nfs/f2fs/xattr.h:129:19: note: declared here\n static inline int f2fs_setxattr(struct inode *inode, int index,\n\nThsi changes the prototype of the empty stub function to match\nthat of the actual implementation. This will not make the key\nmanagement work when F2FS_FS_XATTR is disabled, but it gets it\nto build at least.\n\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/9f196c7a60651a346aa328e41a1d4ebfd69df66d"},{"sha":"00a5c03a719d769672d0a3332fb92d711dc24558","author":{"email":"71255387a32c360dfbe6dfb7aaeb123bf1dc8cb6@kernel.org","name":"Jaegeuk Kim"},"message":"f2fs: submit node page write bios when really required\n\nIf many threads calls fsync with data writes, we don't need to flush every\nbios having node page writes.\nThe f2fs_wait_on_page_writeback will flush its bios when the page is really\nneeded.\n\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/00a5c03a719d769672d0a3332fb92d711dc24558"},{"sha":"400e99c277ad5453b9997e0dc24a7b4af6e5732f","author":{"email":"d033e22ae348aeb5660fc2140aec35850c4da997@jollaman999.com","name":"jollaman999"},"message":"bullhead_defconfig: Update defconfig","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/400e99c277ad5453b9997e0dc24a7b4af6e5732f"},{"sha":"0a7e0aca883ddc66f851a966330b1be1b5c7e14d","author":{"email":"9152da451d71c2a1ceb0c7b0908d4018fc127ae6@converseincode.com","name":"Behan Webster"},"message":"crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code\n\nAdd a macro which replaces the use of a Variable Length Array In Struct (VLAIS)\nwith a C99 compliant equivalent. This macro instead allocates the appropriate\namount of memory using an char array.\n\nThe new code can be compiled with both gcc and clang.\n\nstruct shash_desc contains a flexible array member member ctx declared with\nCRYPTO_MINALIGN_ATTR, so sizeof(struct shash_desc) aligns the beginning\nof the array declared after struct shash_desc with long long.\n\nNo trailing padding is required because it is not a struct type that can\nbe used in an array.\n\nThe CRYPTO_MINALIGN_ATTR is required so that desc is aligned with long long\nas would be the case for a struct containing a member with\nCRYPTO_MINALIGN_ATTR.\n\nIf you want to get to the ctx at the end of the shash_desc as before you can do\nso using shash_desc_ctx(shash)\n\nSigned-off-by: Behan Webster <behanw@converseincode.com>\nReviewed-by: Mark Charlebois <charlebm@gmail.com>\nAcked-by: Herbert Xu <herbert@gondor.apana.org.au>\nCc: Michał Mirosław <mirqus@gmail.com>","distinct":true,"url":"https://api.github.com/repos/jollaman999/jolla-kernel_bullhead/commits/0a7e0aca883ddc66f851a966330b1be1b5c7e14d"}]}