[PATCH] O_DIRECT open check
authorAndrew Morton <akpm@zip.com.au>
Fri, 19 Jul 2002 04:09:30 +0000 (21:09 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 19 Jul 2002 04:09:30 +0000 (21:09 -0700)
commit7d0be429d7754ec28aa718f4d790f8e6edfe1561
treec477878a24fc88d5e5796fe47a77fef897a5e872
parente177ea28e7eded3490174487c81e5bef8a2c4d95
[PATCH] O_DIRECT open check

Updated forward-port of Aodrea's O_DIRECT open() checks.  If the user
asked for O_DIRECT and the inode has no mapping or no a_ops then fail
the open up-front.
fs/fcntl.c
fs/open.c