projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5948a40
)
NFSv3: Deal with a sparse warning in nfs3_proc_create
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 21 Aug 2013 01:04:11 +0000
(21:04 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Thu, 22 Aug 2013 00:00:16 +0000
(20:00 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs3proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs3proc.c
b/fs/nfs/nfs3proc.c
index f5c84c3efbca24df1ee53947a86dfe28c992cf46..1db588a3f08b28c93bb491d354662c346ccee3fc 100644
(file)
--- a/
fs/nfs/nfs3proc.c
+++ b/
fs/nfs/nfs3proc.c
@@
-336,8
+336,8
@@
nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
data->arg.create.createmode = NFS3_CREATE_UNCHECKED;
if (flags & O_EXCL) {
data->arg.create.createmode = NFS3_CREATE_EXCLUSIVE;
- data->arg.create.verifier[0] =
jiffies
;
- data->arg.create.verifier[1] = c
urrent->pid
;
+ data->arg.create.verifier[0] =
cpu_to_be32(jiffies)
;
+ data->arg.create.verifier[1] = c
pu_to_be32(current->pid)
;
}
sattr->ia_mode &= ~current_umask();