]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ocfs2:btrfs: aio-dio-loop changes broke setrlimit behavior [orabug 14207636]
authorDave Kleikamp <dave.kleikamp@oracle.com>
Wed, 20 Jun 2012 21:05:59 +0000 (16:05 -0500)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Wed, 20 Jun 2012 21:05:59 +0000 (16:05 -0500)
commit2877d364d6e8070595b0c99efa6333309fc7bffd
treeece1ce60db36e523b6ea2cf26a442d8402572a4d
parentb67ffdd0b198da23a53ffb5a2f58b673cd9159eb
ocfs2:btrfs: aio-dio-loop changes broke setrlimit behavior [orabug 14207636]

The aio-dio changes for the loop device driver broke ocfs2 and btrfs's
handling of rlimit. generic_write_checks() adjusts the IO byte count to
account for the rlimit, but the updated count was not being reflected in
the iov_iter data structure.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
fs/btrfs/file.c
fs/ocfs2/file.c
mm/iov-iter.c