]> git.hungrycats.org Git - linux/commit
[PATCH] nfs: Fix an open intent bug
authorAndrew Morton <akpm@osdl.org>
Mon, 19 Jan 2004 02:39:14 +0000 (18:39 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 19 Jan 2004 02:39:14 +0000 (18:39 -0800)
commit7de3a7b25f649e11cc4725b9d5ef84158a97f9e6
treeecf2a39d1a4a1cf8575864167f3d925cddf28f42
parentac48c0dd475ea672113ccb0d3bc2ef41dc3f85ac
[PATCH] nfs: Fix an open intent bug

From: Trond Myklebust <trond.myklebust@fys.uio.no>

The following patch fixes a bug when initializing the intent structure
in sys_uselib(): intents use the FMODE_READ convention rather than
O_RDONLY.

It also adds a missing open intent to open_exec(). This ensures that NFS
clients will do the necessary close-to-open data cache consistency
checking.
fs/exec.c