[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1426822679-18076-1-git-send-email-tsgatesv@gmail.com>
Date: Thu, 19 Mar 2015 23:37:59 -0400
From: Taesoo Kim <tsgatesv@...il.com>
To: jack@...e.cz, linux-kernel@...r.kernel.org
Cc: taesoo@...ech.edu, changwoo@...ech.edu, sanidhya@...ech.edu,
blee@...ech.edu, csong84@...ech.edu,
Taesoo Kim <tsgatesv@...il.com>
Subject: [PATCH 1/1] udf: block-based fs should use generic_write_end()
simple_write_end() is for non-block fs, which doesn't invoke
mark_inode_dirty(). Instead, generic_write_end() correctly
handles such case when i_size has changed.
Signed-off-by: Taesoo Kim <tsgatesv@...il.com>
---
fs/udf/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/udf/file.c b/fs/udf/file.c
index 08f3555..28b1dab 100644
--- a/fs/udf/file.c
+++ b/fs/udf/file.c
@@ -112,7 +112,7 @@ const struct address_space_operations udf_adinicb_aops = {
.readpage = udf_adinicb_readpage,
.writepage = udf_adinicb_writepage,
.write_begin = udf_adinicb_write_begin,
- .write_end = simple_write_end,
+ .write_end = generic_write_end,
.direct_IO = udf_adinicb_direct_IO,
};
--
2.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists