diff options
Diffstat (limited to 'fs/udf/inode.c')
-rw-r--r-- | fs/udf/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c index 378a7592257c..b02089247296 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c | |||
@@ -1373,12 +1373,12 @@ static mode_t udf_convert_permissions(struct fileEntry *fe) | |||
1373 | return mode; | 1373 | return mode; |
1374 | } | 1374 | } |
1375 | 1375 | ||
1376 | int udf_write_inode(struct inode *inode, int sync) | 1376 | int udf_write_inode(struct inode *inode, struct writeback_control *wbc) |
1377 | { | 1377 | { |
1378 | int ret; | 1378 | int ret; |
1379 | 1379 | ||
1380 | lock_kernel(); | 1380 | lock_kernel(); |
1381 | ret = udf_update_inode(inode, sync); | 1381 | ret = udf_update_inode(inode, wbc->sync_mode == WB_SYNC_ALL); |
1382 | unlock_kernel(); | 1382 | unlock_kernel(); |
1383 | 1383 | ||
1384 | return ret; | 1384 | return ret; |