The patch titled Subject: ppc/cell: replace get_unused_fd() with get_unused_fd_flags(0) has been added to the -mm tree. Its filename is ppc-cell-trivial-replace-get_unused_fd-by-get_unused_fd_flags0.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/ppc-cell-trivial-replace-get_unused_fd-by-get_unused_fd_flags0.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/ppc-cell-trivial-replace-get_unused_fd-by-get_unused_fd_flags0.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Yann Droneaud <ydroneaud@xxxxxxxxxx> Subject: ppc/cell: replace get_unused_fd() with get_unused_fd_flags(0) This patch replaces calls to get_unused_fd() with equivalent call to get_unused_fd_flags(0) to preserve current behavor for existing code. In a further patch, get_unused_fd() will be removed so that new code start using get_unused_fd_flags(), with the hope O_CLOEXEC could be used, either by default or choosen by userspace. Signed-off-by: Yann Droneaud <ydroneaud@xxxxxxxxxx> Cc: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/powerpc/platforms/cell/spufs/inode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN arch/powerpc/platforms/cell/spufs/inode.c~ppc-cell-trivial-replace-get_unused_fd-by-get_unused_fd_flags0 arch/powerpc/platforms/cell/spufs/inode.c --- a/arch/powerpc/platforms/cell/spufs/inode.c~ppc-cell-trivial-replace-get_unused_fd-by-get_unused_fd_flags0 +++ a/arch/powerpc/platforms/cell/spufs/inode.c @@ -301,7 +301,7 @@ static int spufs_context_open(struct pat int ret; struct file *filp; - ret = get_unused_fd(); + ret = get_unused_fd_flags(0); if (ret < 0) return ret; @@ -518,7 +518,7 @@ static int spufs_gang_open(struct path * int ret; struct file *filp; - ret = get_unused_fd(); + ret = get_unused_fd_flags(0); if (ret < 0) return ret; _ Patches currently in -mm which might be from ydroneaud@xxxxxxxxxx are origin.patch ia64-trivial-replace-get_unused_fd-by-get_unused_fd_flags0.patch ppc-cell-trivial-replace-get_unused_fd-by-get_unused_fd_flags0.patch binfmt_misc-trivial-replace-get_unused_fd-by-get_unused_fd_flags0.patch file-trivial-replace-get_unused_fd-by-get_unused_fd_flags0.patch file-remove-get_unused_fd-macro.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html