diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-22 18:53:18 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-20 01:43:46 -0400 |
commit | f7c85868fcacc331dd3454a4f08f006d7942521f (patch) | |
tree | 03e01b3f96684911c353ce22c1cc757a36616977 /arch/powerpc/boot/pq2.h | |
parent | 511415980ace0ceecd71088dbe1c7ce4ca7c79fe (diff) |
fix mknod() on nfs4 (hopefully)
a) check the right flags in ->create() (LOOKUP_OPEN, not LOOKUP_CREATE)
b) default (!LOOKUP_OPEN) open_flags is O_CREAT|O_EXCL|FMODE_READ, not 0
c) lookup_instantiate_filp() should be done only with LOOKUP_OPEN;
otherwise we need to issue CLOSE, lest we leak stateid on server.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc/boot/pq2.h')
0 files changed, 0 insertions, 0 deletions