summaryrefslogtreecommitdiffstats
path: root/drivers/video/asiliantfb.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-26 17:47:34 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-08-07 15:13:19 -0400
commit45328c354e8ae16b67cb3adb72ab57459f9e5fd6 (patch)
treef0c4271a0c9f6b8d9b499f22fffc1804419d49c8 /drivers/video/asiliantfb.c
parentba683031fae115d61c6b5f4c675cc27f6e9576d2 (diff)
NFS: Fix NFSv4 open stateid regressions
Do not allow cached open for O_RDONLY or O_WRONLY unless the file has been previously opened in these modes. Also Fix the calculation of the mode in nfs4_close_prepare. We should only issue an OPEN_DOWNGRADE if we're sure that we will still be holding the correct open modes. This may not be the case if we've been doing delegated opens. Finally, there is no need to adjust the open mode bit flags in nfs4_close_done(): that has already been done in nfs4_close_prepare(). Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'drivers/video/asiliantfb.c')
0 files changed, 0 insertions, 0 deletions