diff options
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 1c9243560eab..b5a6a2b6f668 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c | |||
@@ -1055,6 +1055,7 @@ static ssize_t btrfs_file_write(struct file *file, const char __user *buf, | |||
1055 | pages = kmalloc(nrptrs * sizeof(struct page *), GFP_KERNEL); | 1055 | pages = kmalloc(nrptrs * sizeof(struct page *), GFP_KERNEL); |
1056 | 1056 | ||
1057 | mutex_lock(&inode->i_mutex); | 1057 | mutex_lock(&inode->i_mutex); |
1058 | BTRFS_I(inode)->sequence++; | ||
1058 | first_index = pos >> PAGE_CACHE_SHIFT; | 1059 | first_index = pos >> PAGE_CACHE_SHIFT; |
1059 | last_index = (pos + count) >> PAGE_CACHE_SHIFT; | 1060 | last_index = (pos + count) >> PAGE_CACHE_SHIFT; |
1060 | 1061 | ||