diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-04 09:14:01 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-04 09:14:01 -0700 |
commit | e1cc485262846dcad931bf85ee655cbbb815bfe6 (patch) | |
tree | 5b3ae42ce41f9fe0149ad49e9811ac8f8e8b2016 /fs/udf/file.c | |
parent | 4d6d367232813af09d9a1d90e3259e3ac42ee8a8 (diff) | |
parent | 09e05d4805e6c524c1af74e524e5d0528bb3fef3 (diff) | |
download | op-kernel-dev-e1cc485262846dcad931bf85ee655cbbb815bfe6.zip op-kernel-dev-e1cc485262846dcad931bf85ee655cbbb815bfe6.tar.gz |
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull ext3 & udf fixes from Jan Kara:
"Shortlog pretty much says it all.
The interesting bits are UDF support for direct IO and ext3 fix for a
long standing oops in data=journal mode."
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
jbd: Fix assertion failure in commit code due to lacking transaction credits
UDF: Add support for O_DIRECT
ext3: Replace 0 with NULL for pointer in super.c file
udf: add writepages support for udf
ext3: don't clear orphan list on ro mount with errors
reiserfs: Make reiserfs_xattr_handlers static
Diffstat (limited to 'fs/udf/file.c')
-rw-r--r-- | fs/udf/file.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/udf/file.c b/fs/udf/file.c index d1c6093..77b5953 100644 --- a/fs/udf/file.c +++ b/fs/udf/file.c @@ -118,11 +118,20 @@ static int udf_adinicb_write_end(struct file *file, return simple_write_end(file, mapping, pos, len, copied, page, fsdata); } +static ssize_t udf_adinicb_direct_IO(int rw, struct kiocb *iocb, + const struct iovec *iov, + loff_t offset, unsigned long nr_segs) +{ + /* Fallback to buffered I/O. */ + return 0; +} + const struct address_space_operations udf_adinicb_aops = { .readpage = udf_adinicb_readpage, .writepage = udf_adinicb_writepage, .write_begin = udf_adinicb_write_begin, .write_end = udf_adinicb_write_end, + .direct_IO = udf_adinicb_direct_IO, }; static ssize_t udf_file_aio_write(struct kiocb *iocb, const struct iovec *iov, |