diff options
Diffstat (limited to 'fs/ntfs/inode.c')
| -rw-r--r-- | fs/ntfs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ntfs/inode.c b/fs/ntfs/inode.c index 0b56c6b7ec01..c05d6dcf77a4 100644 --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c | |||
| @@ -622,7 +622,7 @@ static int ntfs_read_locked_inode(struct inode *vi) | |||
| 622 | */ | 622 | */ |
| 623 | /* Everyone gets all permissions. */ | 623 | /* Everyone gets all permissions. */ |
| 624 | vi->i_mode |= S_IRWXUGO; | 624 | vi->i_mode |= S_IRWXUGO; |
| 625 | /* If read-only, noone gets write permissions. */ | 625 | /* If read-only, no one gets write permissions. */ |
| 626 | if (IS_RDONLY(vi)) | 626 | if (IS_RDONLY(vi)) |
| 627 | vi->i_mode &= ~S_IWUGO; | 627 | vi->i_mode &= ~S_IWUGO; |
| 628 | if (m->flags & MFT_RECORD_IS_DIRECTORY) { | 628 | if (m->flags & MFT_RECORD_IS_DIRECTORY) { |
| @@ -2529,7 +2529,7 @@ retry_truncate: | |||
| 2529 | * specifies that the behaviour is unspecified thus we do not | 2529 | * specifies that the behaviour is unspecified thus we do not |
| 2530 | * have to do anything. This means that in our implementation | 2530 | * have to do anything. This means that in our implementation |
| 2531 | * in the rare case that the file is mmap()ped and a write | 2531 | * in the rare case that the file is mmap()ped and a write |
| 2532 | * occured into the mmap()ped region just beyond the file size | 2532 | * occurred into the mmap()ped region just beyond the file size |
| 2533 | * and writepage has not yet been called to write out the page | 2533 | * and writepage has not yet been called to write out the page |
| 2534 | * (which would clear the area beyond the file size) and we now | 2534 | * (which would clear the area beyond the file size) and we now |
| 2535 | * extend the file size to incorporate this dirty region | 2535 | * extend the file size to incorporate this dirty region |
