diff options
Diffstat (limited to 'include/linux/reiserfs_fs.h')
-rw-r--r-- | include/linux/reiserfs_fs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h index 27f4ecc28180..508fb523863e 100644 --- a/include/linux/reiserfs_fs.h +++ b/include/linux/reiserfs_fs.h | |||
@@ -1348,9 +1348,7 @@ static inline loff_t max_reiserfs_offset(struct inode *inode) | |||
1348 | #define __fs_changed(gen,s) (gen != get_generation (s)) | 1348 | #define __fs_changed(gen,s) (gen != get_generation (s)) |
1349 | #define fs_changed(gen,s) \ | 1349 | #define fs_changed(gen,s) \ |
1350 | ({ \ | 1350 | ({ \ |
1351 | reiserfs_write_unlock(s); \ | 1351 | reiserfs_cond_resched(s); \ |
1352 | cond_resched(); \ | ||
1353 | reiserfs_write_lock(s); \ | ||
1354 | __fs_changed(gen, s); \ | 1352 | __fs_changed(gen, s); \ |
1355 | }) | 1353 | }) |
1356 | 1354 | ||