nfs: don't use nd->intent.open.flags
authorMiklos Szeredi <mszeredi@suse.cz>
Tue, 5 Jun 2012 13:10:20 +0000 (15:10 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:33:10 +0000 (16:33 +0400)
commit50de348c3604f7684a89ce64180666d4dd74623f
tree4dfbd39f22bf3e1ed6aef272250d289aeb8a541d
parent8867fe5899010a0c0ac36dadfdacf1072b1c990c
nfs: don't use nd->intent.open.flags

Instead check LOOKUP_EXCL in nd->flags, which is basically what the open intent
flags were used for.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nfs/dir.c