diff options
Diffstat (limited to 'fs/stack.c')
-rw-r--r-- | fs/stack.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/fs/stack.c b/fs/stack.c index a54e33ed10f1..664ed35558bd 100644 --- a/fs/stack.c +++ b/fs/stack.c | |||
@@ -21,11 +21,10 @@ void fsstack_copy_inode_size(struct inode *dst, struct inode *src) | |||
21 | i_size = i_size_read(src); | 21 | i_size = i_size_read(src); |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * But if CONFIG_LBDAF (on 32-bit), we ought to make an effort to | 24 | * But on 32-bit, we ought to make an effort to keep the two halves of |
25 | * keep the two halves of i_blocks in sync despite SMP or PREEMPT - | 25 | * i_blocks in sync despite SMP or PREEMPT - though stat's |
26 | * though stat's generic_fillattr() doesn't bother, and we won't be | 26 | * generic_fillattr() doesn't bother, and we won't be applying quotas |
27 | * applying quotas (where i_blocks does become important) at the | 27 | * (where i_blocks does become important) at the upper level. |
28 | * upper level. | ||
29 | * | 28 | * |
30 | * We don't actually know what locking is used at the lower level; | 29 | * We don't actually know what locking is used at the lower level; |
31 | * but if it's a filesystem that supports quotas, it will be using | 30 | * but if it's a filesystem that supports quotas, it will be using |
@@ -44,9 +43,9 @@ void fsstack_copy_inode_size(struct inode *dst, struct inode *src) | |||
44 | * include/linux/fs.h). We don't necessarily hold i_mutex when this | 43 | * include/linux/fs.h). We don't necessarily hold i_mutex when this |
45 | * is called, so take i_lock for that case. | 44 | * is called, so take i_lock for that case. |
46 | * | 45 | * |
47 | * And if CONFIG_LBDAF (on 32-bit), continue our effort to keep the | 46 | * And if on 32-bit, continue our effort to keep the two halves of |
48 | * two halves of i_blocks in sync despite SMP or PREEMPT: use i_lock | 47 | * i_blocks in sync despite SMP or PREEMPT: use i_lock for that case |
49 | * for that case too, and do both at once by combining the tests. | 48 | * too, and do both at once by combining the tests. |
50 | * | 49 | * |
51 | * There is none of this locking overhead in the 64-bit case. | 50 | * There is none of this locking overhead in the 64-bit case. |
52 | */ | 51 | */ |