diff mbox

[1/5] NFSD: Cleanup unneeded including linux/user_namespace.h

Message ID 537F44B1.6080507@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kinglong Mee May 23, 2014, 12:53 p.m. UTC
commit 4c1e1b34d5c800ad3ac9a7e2805b0bea70ad2278 using kuid/kgid for
ex_anon_uid/ex_anon_gid, user_namespace.h is not needed now, clean it.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
 fs/nfsd/auth.c | 1 -
 1 file changed, 1 deletion(-)

Comments

J. Bruce Fields May 23, 2014, 2:18 p.m. UTC | #1
Thanks, applied all five.

On Fri, May 23, 2014 at 08:53:05PM +0800, Kinglong Mee wrote:
> commit 4c1e1b34d5c800ad3ac9a7e2805b0bea70ad2278 using kuid/kgid for

In future, when referring to another commit, could you also include the
summary line?  E.g.: Commit 8f6c5ffc8987 ("kernel/groups.c: remove
return value of set_groups") removed the last use of "ret"....

--b.

> ex_anon_uid/ex_anon_gid, user_namespace.h is not needed now, clean it.
> 
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
> ---
>  fs/nfsd/auth.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c
> index 2645be4..1042325 100644
> --- a/fs/nfsd/auth.c
> +++ b/fs/nfsd/auth.c
> @@ -1,7 +1,6 @@
>  /* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */
>  
>  #include <linux/sched.h>
> -#include <linux/user_namespace.h>
>  #include "nfsd.h"
>  #include "auth.h"
>  
> -- 
> 1.9.3
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kinglong Mee May 23, 2014, 2:20 p.m. UTC | #2
On 5/23/2014 22:18, J. Bruce Fields wrote:
> Thanks, applied all five.
> 
> On Fri, May 23, 2014 at 08:53:05PM +0800, Kinglong Mee wrote:
>> commit 4c1e1b34d5c800ad3ac9a7e2805b0bea70ad2278 using kuid/kgid for
> 
> In future, when referring to another commit, could you also include the
> summary line?  E.g.: Commit 8f6c5ffc8987 ("kernel/groups.c: remove
> return value of set_groups") removed the last use of "ret"....

Got it, i will do that in the future.

thanks,
Kinglong Mee

> 
> --b.
> 
>> ex_anon_uid/ex_anon_gid, user_namespace.h is not needed now, clean it.
>>
>> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
>> ---
>>  fs/nfsd/auth.c | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c
>> index 2645be4..1042325 100644
>> --- a/fs/nfsd/auth.c
>> +++ b/fs/nfsd/auth.c
>> @@ -1,7 +1,6 @@
>>  /* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */
>>  
>>  #include <linux/sched.h>
>> -#include <linux/user_namespace.h>
>>  #include "nfsd.h"
>>  #include "auth.h"
>>  
>> -- 
>> 1.9.3
>>
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c
index 2645be4..1042325 100644
--- a/fs/nfsd/auth.c
+++ b/fs/nfsd/auth.c
@@ -1,7 +1,6 @@ 
 /* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */
 
 #include <linux/sched.h>
-#include <linux/user_namespace.h>
 #include "nfsd.h"
 #include "auth.h"