diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-28 13:49:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-28 13:49:34 -0400 |
commit | f362f98e7c445643d27c610bb7a86b79727b592e (patch) | |
tree | 399d9ebccdfbdfe9690ab1403a001d6f08e54b41 /fs/buffer.c | |
parent | f793f2961170c0b49c1650e69e7825484159ce62 (diff) | |
parent | f3c7691e8d30d88899b514675c7c86d19057b5fd (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/vfs-queue
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/hch/vfs-queue: (21 commits)
leases: fix write-open/read-lease race
nfs: drop unnecessary locking in llseek
ext4: replace cut'n'pasted llseek code with generic_file_llseek_size
vfs: add generic_file_llseek_size
vfs: do (nearly) lockless generic_file_llseek
direct-io: merge direct_io_walker into __blockdev_direct_IO
direct-io: inline the complete submission path
direct-io: separate map_bh from dio
direct-io: use a slab cache for struct dio
direct-io: rearrange fields in dio/dio_submit to avoid holes
direct-io: fix a wrong comment
direct-io: separate fields only used in the submission path from struct dio
vfs: fix spinning prevention in prune_icache_sb
vfs: add a comment to inode_permission()
vfs: pass all mask flags check_acl and posix_acl_permission
vfs: add hex format for MAY_* flag values
vfs: indicate that the permission functions take all the MAY_* flags
compat: sync compat_stats with statfs.
vfs: add "device" tag to /proc/self/mountstats
cleanup: vfs: small comment fix for block_invalidatepage
...
Fix up trivial conflict in fs/gfs2/file.c (llseek changes)
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 1a80b048ade8..936d6035f6e2 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -1470,13 +1470,13 @@ static void discard_buffer(struct buffer_head * bh) | |||
1470 | } | 1470 | } |
1471 | 1471 | ||
1472 | /** | 1472 | /** |
1473 | * block_invalidatepage - invalidate part of all of a buffer-backed page | 1473 | * block_invalidatepage - invalidate part or all of a buffer-backed page |
1474 | * | 1474 | * |
1475 | * @page: the page which is affected | 1475 | * @page: the page which is affected |
1476 | * @offset: the index of the truncation point | 1476 | * @offset: the index of the truncation point |
1477 | * | 1477 | * |
1478 | * block_invalidatepage() is called when all or part of the page has become | 1478 | * block_invalidatepage() is called when all or part of the page has become |
1479 | * invalidatedby a truncate operation. | 1479 | * invalidated by a truncate operation. |
1480 | * | 1480 | * |
1481 | * block_invalidatepage() does not have to release all buffers, but it must | 1481 | * block_invalidatepage() does not have to release all buffers, but it must |
1482 | * ensure that no dirty buffer is left outside @offset and that no I/O | 1482 | * ensure that no dirty buffer is left outside @offset and that no I/O |