diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bio.c | 4 | ||||
-rw-r--r-- | fs/compat.c | 2 | ||||
-rw-r--r-- | fs/compat_ioctl.c | 2 | ||||
-rw-r--r-- | fs/ext2/ext2.h | 2 | ||||
-rw-r--r-- | fs/inode.c | 2 |
5 files changed, 6 insertions, 6 deletions
@@ -358,9 +358,9 @@ static void bio_kmalloc_destructor(struct bio *bio) | |||
358 | * | 358 | * |
359 | * If %__GFP_WAIT is set, then bio_alloc will always be able to allocate | 359 | * If %__GFP_WAIT is set, then bio_alloc will always be able to allocate |
360 | * a bio. This is due to the mempool guarantees. To make this work, callers | 360 | * a bio. This is due to the mempool guarantees. To make this work, callers |
361 | * must never allocate more than 1 bio at the time from this pool. Callers | 361 | * must never allocate more than 1 bio at a time from this pool. Callers |
362 | * that need to allocate more than 1 bio must always submit the previously | 362 | * that need to allocate more than 1 bio must always submit the previously |
363 | * allocate bio for IO before attempting to allocate a new one. Failure to | 363 | * allocated bio for IO before attempting to allocate a new one. Failure to |
364 | * do so can cause livelocks under memory pressure. | 364 | * do so can cause livelocks under memory pressure. |
365 | * | 365 | * |
366 | **/ | 366 | **/ |
diff --git a/fs/compat.c b/fs/compat.c index 6aefb776dfeb..cdd51a3a7c53 100644 --- a/fs/compat.c +++ b/fs/compat.c | |||
@@ -471,7 +471,7 @@ asmlinkage long compat_sys_fcntl64(unsigned int fd, unsigned int cmd, | |||
471 | ret = sys_fcntl(fd, cmd, (unsigned long)&f); | 471 | ret = sys_fcntl(fd, cmd, (unsigned long)&f); |
472 | set_fs(old_fs); | 472 | set_fs(old_fs); |
473 | if (cmd == F_GETLK && ret == 0) { | 473 | if (cmd == F_GETLK && ret == 0) { |
474 | /* GETLK was successfule and we need to return the data... | 474 | /* GETLK was successful and we need to return the data... |
475 | * but it needs to fit in the compat structure. | 475 | * but it needs to fit in the compat structure. |
476 | * l_start shouldn't be too big, unless the original | 476 | * l_start shouldn't be too big, unless the original |
477 | * start + end is greater than COMPAT_OFF_T_MAX, in which | 477 | * start + end is greater than COMPAT_OFF_T_MAX, in which |
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index b83f6bcfa51a..0aac371bff0b 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -1765,7 +1765,7 @@ static int do_i2c_smbus_ioctl(unsigned int fd, unsigned int cmd, unsigned long a | |||
1765 | 1765 | ||
1766 | /* Since old style bridge ioctl's endup using SIOCDEVPRIVATE | 1766 | /* Since old style bridge ioctl's endup using SIOCDEVPRIVATE |
1767 | * for some operations; this forces use of the newer bridge-utils that | 1767 | * for some operations; this forces use of the newer bridge-utils that |
1768 | * use compatiable ioctls | 1768 | * use compatible ioctls |
1769 | */ | 1769 | */ |
1770 | static int old_bridge_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) | 1770 | static int old_bridge_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) |
1771 | { | 1771 | { |
diff --git a/fs/ext2/ext2.h b/fs/ext2/ext2.h index b2bbf45039e0..f2e5811936d0 100644 --- a/fs/ext2/ext2.h +++ b/fs/ext2/ext2.h | |||
@@ -27,7 +27,7 @@ struct ext2_inode_info { | |||
27 | /* | 27 | /* |
28 | * i_block_group is the number of the block group which contains | 28 | * i_block_group is the number of the block group which contains |
29 | * this file's inode. Constant across the lifetime of the inode, | 29 | * this file's inode. Constant across the lifetime of the inode, |
30 | * it is ued for making block allocation decisions - we try to | 30 | * it is used for making block allocation decisions - we try to |
31 | * place a file's data blocks near its inode block, and new inodes | 31 | * place a file's data blocks near its inode block, and new inodes |
32 | * near to their parent directory's inode. | 32 | * near to their parent directory's inode. |
33 | */ | 33 | */ |
diff --git a/fs/inode.c b/fs/inode.c index a88baebf77cf..f643be565df8 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -1408,7 +1408,7 @@ EXPORT_SYMBOL(touch_atime); | |||
1408 | * for writeback. Note that this function is meant exclusively for | 1408 | * for writeback. Note that this function is meant exclusively for |
1409 | * usage in the file write path of filesystems, and filesystems may | 1409 | * usage in the file write path of filesystems, and filesystems may |
1410 | * choose to explicitly ignore update via this function with the | 1410 | * choose to explicitly ignore update via this function with the |
1411 | * S_NOCTIME inode flag, e.g. for network filesystem where these | 1411 | * S_NOCMTIME inode flag, e.g. for network filesystem where these |
1412 | * timestamps are handled by the server. | 1412 | * timestamps are handled by the server. |
1413 | */ | 1413 | */ |
1414 | 1414 | ||