summaryrefslogtreecommitdiff
path: root/corking.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-04corking: use bool instead of intDaniel Borkmann1-2/+4
We have a boolen condition, so use bool instead of doing stupid things with ints. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
2013-06-04corking: break out udp/tcp cork functionsDaniel Borkmann1-0/+11
No, it's not about whine bottles ... move udp and tcp cork functions out of xutils.c, so that we can further let it shrink. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
net-next.git/commit/fs/overlayfs/copy_up.c?id=1c8a47df36d72ace8cf78eb6c228aa0f8027d3c2'>1c8a47df36d72ace8cf78eb6c228aa0f8027d3c2 (patch) treef81ba92bcb7d112277c54c7cba46e82d24b95716 /fs/overlayfs/copy_up.c parentab79efab0a0ba01a74df782eb7fa44b044dae8b5 (diff)
ovl: fix open in stacked overlay
If two overlayfs filesystems are stacked on top of each other, then we need recursion in ovl_d_select_inode(). I guess d_backing_inode() is supposed to do that. But currently it doesn't and that functionality is open coded in vfs_open(). This is now copied into ovl_d_select_inode() to fix this regression. Reported-by: Alban Crequy <alban.crequy@gmail.com> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay...") Cc: David Howells <dhowells@redhat.com> Cc: <stable@vger.kernel.org> # v4.2+
Diffstat (limited to 'fs/overlayfs/copy_up.c')