{"push_id":1195928665,"size":106,"distinct_size":5,"ref":"refs/heads/master","head":"7d091f0cccb0152846b951fa142abb341bb3401f","before":"9a3dd6e31bef0d7bacac00f1297fc02ff92f6781","commits":[{"sha":"f8cb1fafbc7d47538a18d96cc4b1393d51fe745e","author":{"name":"Liu Xue","email":"40d0622fb5c58126b7f57a4f5c18f3c93d01b82b@huawei.com"},"message":"f2fs: recovery missing dot dentries in root directory\n\nIf f2fs was corrupted with missing dot dentries in root dirctory,\nit needs to recover them after fsck.f2fs set F2FS_INLINE_DOTS flag\nin directory inode when fsck.f2fs detects missing dot dentries.\n\nSigned-off-by: Xue Liu <liuxueliu.liu@huawei.com>\nSigned-off-by: Yong Sheng <shengyong1@huawei.com>\nReviewed-by: Chao Yu <chao2.yu@samsung.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/f8cb1fafbc7d47538a18d96cc4b1393d51fe745e"},{"sha":"1e1310f9853573940895bee321150c08e9d21763","author":{"name":"Yang Shi","email":"2222ef709a979e2123cb67a13a010357ac98573b@linaro.org"},"message":"f2fs: mutex can't be used by down_write_nest_lock()\n\nf2fs_lock_all() calls down_write_nest_lock() to acquire a rw_sem and check\na mutex, but down_write_nest_lock() is designed for two rw_sem accoring to the\ncomment in include/linux/rwsem.h. And, other than f2fs, it is just called in\nmm/mmap.c with two rwsem.\n\nSo, it looks it is used wrongly by f2fs. And, it causes the below compile\nwarning on -rt kernel too.\n\nIn file included from fs/f2fs/xattr.c:25:0:\nfs/f2fs/f2fs.h: In function 'f2fs_lock_all':\nfs/f2fs/f2fs.h:962:34: warning: passing argument 2 of 'down_write_nest_lock' from incompatible pointer type [-Wincompatible-pointer-types]\n  f2fs_down_write(&sbi->cp_rwsem, &sbi->cp_mutex);\n                                  ^\nfs/f2fs/f2fs.h:27:55: note: in definition of macro 'f2fs_down_write'\n #define f2fs_down_write(x, y) down_write_nest_lock(x, y)\n                                                       ^\nIn file included from include/linux/rwsem.h:22:0,\n                 from fs/f2fs/xattr.c:21:\ninclude/linux/rwsem_rt.h:138:20: note: expected 'struct rw_semaphore *' but argument is of type 'struct mutex *'\n static inline void down_write_nest_lock(struct rw_semaphore *sem,\n\nSigned-off-by: Yang Shi <yang.shi@linaro.org>\nReviewed-by: Chao Yu <chao2.yu@samsung.com>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/1e1310f9853573940895bee321150c08e9d21763"},{"sha":"2fc576f339608c94c62981542d115786ef9671a9","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"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\n[Backporting to 3.10]\n - Removed d_is_negative() in fscrypt_d_revalidate().\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>\n\n Conflicts:\n\tfs/f2fs/f2fs.h\n\tfs/f2fs/inode.c\n\tfs/f2fs/super.c\n\tinclude/linux/fs.h","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/2fc576f339608c94c62981542d115786ef9671a9"},{"sha":"aeca3e4bccc9e6d0217355c14abef560e82d6c64","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: define not-set fallocate flags\n\nThis fixes building bugs in aosp.\n\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/aeca3e4bccc9e6d0217355c14abef560e82d6c64"},{"sha":"8b92bcc8a4dbac4e2c208f958c171b53b15c8319","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"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":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/8b92bcc8a4dbac4e2c208f958c171b53b15c8319"},{"sha":"2e4bde5b4f908edbee8d64c373c8f2e1f81f8eb0","author":{"name":"Fan Li","email":"341cae52f0eb3cd3dc75040a2918ec141d763a00@samsung.com"},"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":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/2e4bde5b4f908edbee8d64c373c8f2e1f81f8eb0"},{"sha":"21697943ba48bbc8acc8f98f6bb53ab3f5ae2bbd","author":{"name":"Keith Mok","email":"cb11ecbe785dcbf1a9ad698fe846a8eecdc19683@gmail.com"},"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":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/21697943ba48bbc8acc8f98f6bb53ab3f5ae2bbd"},{"sha":"28c348b3febb29f96c8d7a36ce499cb9d1b28dd1","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: declare static functions\n\nJust to avoid sparse warnings.\n\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/28c348b3febb29f96c8d7a36ce499cb9d1b28dd1"},{"sha":"f2e87555820bb5a0a6c0d54943a617cd5ef897e8","author":{"name":"Chao Yu","email":"978a2341934ba8409b7f37e5a5e2053cf9794e2f@kernel.org"},"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":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/f2e87555820bb5a0a6c0d54943a617cd5ef897e8"},{"sha":"cae8c4e1e65517ac94511238775b95e014d2c225","author":{"name":"Chao Yu","email":"978a2341934ba8409b7f37e5a5e2053cf9794e2f@kernel.org"},"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":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/cae8c4e1e65517ac94511238775b95e014d2c225"},{"sha":"b8f6a6d01ec1b7a40c5280244644d207b2949c42","author":{"name":"Arnd Bergmann","email":"72a0f6d3b182607e6d5c44b93e1abb7b23ee18f3@arndb.de"},"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":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/b8f6a6d01ec1b7a40c5280244644d207b2949c42"},{"sha":"940b7317989eebc36837f8cce315b1eaf3704999","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"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":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/940b7317989eebc36837f8cce315b1eaf3704999"},{"sha":"a8f231da9f0326f080b85c8ad8edbf20e11a9b74","author":{"name":"Linus Torvalds","email":"ead7104581934751970e9decb2db5deb20a9e407@linux-foundation.org"},"message":"f2fs/crypto: fix xts_tweak initialization\n\nCommit 0b81d07790726 (\"fs crypto: move per-file encryption from f2fs\ntree to fs/crypto\") moved the f2fs crypto files to fs/crypto/ and\nrenamed the symbol prefixes from \"f2fs_\" to \"fscrypt_\" (and from \"F2FS_\"\nto just \"FS\" for preprocessor symbols).\n\nBecause of the symbol renaming, it's a bit hard to see it as a file\nmove: use\n\n    git show -M30 0b81d07790726\n\nto lower the rename detection to just 30% similarity and make git show\nthe files as renamed (the header file won't be shown as a rename even\nthen - since all it contains is symbol definitions, it looks almost\ncompletely different).\n\nEven with the renames showing as renames, the diffs are not all that\neasy to read, since so much is just the renames.  But Eric Biggers\nnoticed that it's not just all renames: the initialization of the\nxts_tweak had been broken too, using the inode number rather than the\npage offset.\n\nThat's not right - it makes the xfs_tweak the same for all pages of each\ninode.  It _might_ make sense to make the xfs_tweak contain both the\noffset _and_ the inode number, but not just the inode number.\n\nReported-by: Eric Biggers <ebiggers3@gmail.com>\nCc: Jaegeuk Kim <jaegeuk@kernel.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/a8f231da9f0326f080b85c8ad8edbf20e11a9b74"},{"sha":"7e56d430c05c70901e2613b864d744c59544ce6d","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: cover large section in sanity check of super\n\nThis patch fixes the bug which does not cover a large section case when checking\nthe sanity of superblock.\nIf f2fs detects misalignment, it will fix the superblock during the mount time,\nso it doesn't need to trigger fsck.f2fs further.\n\nReported-by: Matthias Prager <linux@matthiasprager.de>\nReported-by: David Gnedt <david.gnedt@davizone.at>\nCc: stable 4.5+ <stable@vger.kernel.org>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/7e56d430c05c70901e2613b864d744c59544ce6d"},{"sha":"40673be27a6e57d30d847b2e5150c9839c2c88c1","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs crypto: fix corrupted symlink in encrypted case\n\nIn the encrypted symlink case, we should check its corrupted symname after\ndecrypting it.\nOtherwise, we can report -ENOENT incorrectly, if encrypted symname starts with\n'\\0'.\n\nCc: stable 4.5+ <stable@vger.kernel.org>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/40673be27a6e57d30d847b2e5150c9839c2c88c1"},{"sha":"14de2733f7c3f38438aa5e480dfba3b2d3b0f989","author":{"name":"Shuoran Liu","email":"413416944d5835a9d282cde3581b1a32fc078fca@huawei.com"},"message":"f2fs: retrieve IO write stat from the right place\n\nIn the following patch,\n\n    f2fs: split journal cache from curseg cache\n\njournal cache is split from curseg cache. So IO write statistics should be\nretrived from journal cache but not curseg->sum_blk. Otherwise, it will\nget 0, and the stat is lost.\n\nSigned-off-by: Shuoran Liu <liushuoran@huawei.com>\nReviewed-by: Chao Yu <chao@kernel.org>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/14de2733f7c3f38438aa5e480dfba3b2d3b0f989"},{"sha":"e628bbe3fe62ed82ca0904a3eb188c0f26b9b096","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"fscrypto: use dget_parent() in fscrypt_d_revalidate()\n\nThis patch updates fscrypto along with the below ext4 crypto change.\n\nFixes: 3d43bcfef5f0 (\"ext4 crypto: use dget_parent() in ext4_d_revalidate()\")\nCc: Theodore Ts'o <tytso@mit.edu>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>\n\n Conflicts:\n\tfs/crypto/crypto.c","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/e628bbe3fe62ed82ca0904a3eb188c0f26b9b096"},{"sha":"8e35c9dc4781882d0ec4591061f03ed4d4d18dc5","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"f2fs: use dget_parent and file_dentry in f2fs_file_open\n\nThis patch synced with the below two ext4 crypto fixes together.\n\nIn 4.6-rc1, f2fs newly introduced accessing f_path.dentry which crashes\noverlayfs. To fix, now we need to use file_dentry() to access that field.\n\n[Backport NOTE]\n - Over 4.2, it should use file_dentry\n\nFixes: c0a37d487884 (\"ext4: use file_dentry()\")\nFixes: 9dd78d8c9a7b (\"ext4: use dget_parent() in ext4_file_open()\")\nCc: Miklos Szeredi <mszeredi@redhat.com>\nCc: Theodore Ts'o <tytso@mit.edu>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/8e35c9dc4781882d0ec4591061f03ed4d4d18dc5"},{"sha":"d016de2623697533551a3f228733fbee5974b304","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"fscrypto: don't let data integrity writebacks fail with ENOMEM\n\nThis patch fixes the issue introduced by the ext4 crypto fix in a same manner.\nFor F2FS, however, we flush the pending IOs and wait for a while to acquire free\nmemory.\n\nFixes: c9af28fdd4492 (\"ext4 crypto: don't let data integrity writebacks fail with ENOMEM\")\nCc: Theodore Ts'o <tytso@mit.edu>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>\n\n Conflicts:\n\tfs/crypto/crypto.c","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/d016de2623697533551a3f228733fbee5974b304"},{"sha":"274933313fb96b10fb2ffe68c7f98036bb72d953","author":{"name":"Jaegeuk Kim","email":"c9e6543abf9bc130570115f8ac41a9d9b583b810@kernel.org"},"message":"ext4/fscrypto: avoid RCU lookup in d_revalidate\n\nAs Al pointed, d_revalidate should return RCU lookup before using d_inode.\nThis was originally introduced by:\ncommit 34286d666230 (\"fs: rcu-walk aware d_revalidate method\").\n\nReported-by: Al Viro <viro@zeniv.linux.org.uk>\nSigned-off-by: Jaegeuk Kim <jaegeuk@kernel.org>\nCc: Theodore Ts'o <tytso@mit.edu>\nCc: stable <stable@vger.kernel.org>\n\n Conflicts:\n\tfs/ext4/crypto.c","distinct":false,"url":"https://api.github.com/repos/Monadiac/cm_kernel_samsung_hlte/commits/274933313fb96b10fb2ffe68c7f98036bb72d953"}]}
{"actor":{"display_login":"Monadiac"}}