diff options
Diffstat (limited to 'fs/udf')
-rw-r--r-- | fs/udf/file.c | 1 | ||||
-rw-r--r-- | fs/udf/inode.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/file.c b/fs/udf/file.c index 9ab57d370..02aa4f025 100644 --- a/fs/udf/file.c +++ b/fs/udf/file.c @@ -86,6 +86,7 @@ static int udf_adinicb_writepage(struct page *page) brelse(bh); SetPageUptodate(page); kunmap(page); + UnlockPage(page); return 0; } diff --git a/fs/udf/inode.c b/fs/udf/inode.c index 3783b43fd..8c818666c 100644 --- a/fs/udf/inode.c +++ b/fs/udf/inode.c @@ -203,7 +203,6 @@ void udf_expand_file_adinicb(struct inode * inode, int newsize, int * err) udf_release_data(bh); inode->i_data.a_ops->writepage(page); - UnlockPage(page); page_cache_release(page); mark_inode_dirty(inode); |