On Tue, 18 Jun 2013 18:18:28 -0700 Davidlohr Bueso <davidlohr.bu...@hp.com> wrote:
> Now that sem, msgque and shm, through *_down(), all use the lockless > variant of ipcctl_pre_down(), go ahead and delete it. Fixlets: From: Andrew Morton <a...@linux-foundation.org> Subject: ipc-drop-ipcctl_pre_down-fix fix function name in kerneldoc, cleanups Cc: Davidlohr Bueso <davidlohr.bu...@hp.com> Cc: Manfred Spraul <manf...@colorfullife.com> Cc: Rik van Riel <r...@redhat.com> Cc: Sedat Dilek <sedat.di...@gmail.com> Signed-off-by: Andrew Morton <a...@linux-foundation.org> --- ipc/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -puN ipc/util.c~ipc-drop-ipcctl_pre_down-fix ipc/util.c --- a/ipc/util.c~ipc-drop-ipcctl_pre_down-fix +++ a/ipc/util.c @@ -733,7 +733,7 @@ int ipc_update_perm(struct ipc64_perm *i } /** - * ipcctl_pre_down - retrieve an ipc and check permissions for some IPC_XXX cmd + * ipcctl_pre_down_nolock - retrieve an ipc and check permissions for some IPC_XXX cmd * @ns: the ipc namespace * @ids: the table of ids where to look for the ipc * @id: the id of the ipc to retrieve @@ -751,8 +751,8 @@ int ipc_update_perm(struct ipc64_perm *i * Call holding the both the rw_mutex and the rcu read lock. */ struct kern_ipc_perm *ipcctl_pre_down_nolock(struct ipc_namespace *ns, - struct ipc_ids *ids, int id, int cmd, - struct ipc64_perm *perm, int extra_perm) + struct ipc_ids *ids, int id, int cmd, + struct ipc64_perm *perm, int extra_perm) { kuid_t euid; int err = -EPERM; _ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/