summaryrefslogtreecommitdiff
path: root/scripts/headerdep.pl
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2014-07-02 09:25:04 +0400
committerJaegeuk Kim <jaegeuk@kernel.org>2014-07-10 01:04:26 +0400
commit3aab8f828ef358ae92545294a14cd52d510cc585 (patch)
treecf2351d748e981a8e9434a8ee7a63a76ba4cc887 /scripts/headerdep.pl
parenteee6160f2e324f0f6a626159fa1120caad31a6be (diff)
downloadlinux-3aab8f828ef358ae92545294a14cd52d510cc585.tar.xz
f2fs: introduce f2fs_write_failed to handle error case when write
When we fail in ->write_begin()/->direct_IO(), our allocated node block in disk and page cache are still kept, despite these may not be used again. This patch introduce f2fs_write_failed() to handle the error case of these two interfaces, it will truncate page cache and blocks of this file according to i_size. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/headerdep.pl')
0 files changed, 0 insertions, 0 deletions