mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 14:02:10 +00:00
NFSv3: Deal with a sparse warning in nfs3_proc_create
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
5948a401a7
commit
a9943d11c1
@ -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] = current->pid;
|
||||
data->arg.create.verifier[0] = cpu_to_be32(jiffies);
|
||||
data->arg.create.verifier[1] = cpu_to_be32(current->pid);
|
||||
}
|
||||
|
||||
sattr->ia_mode &= ~current_umask();
|
||||
|
Loading…
Reference in New Issue
Block a user