]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: convert inline data before set atomic/volatile flag
authorChao Yu <chao2.yu@samsung.com>
Fri, 17 Jul 2015 10:06:35 +0000 (18:06 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 5 Aug 2015 15:08:13 +0000 (08:08 -0700)
commitf4c9c743acedc2f083e6a1d4e186df6a2c12b2fd
tree6d31d872e1f5be91ecf18402bb1db227a729390c
parenta5f64b6aa69b5cc05e198291811a2f3faf95b463
f2fs: convert inline data before set atomic/volatile flag

In f2fs_ioc_start_{atomic,volatile}_write, if we failed in converting
inline data, we will report error to user, but still remain atomic/volatile
flag in inode, it will impact further writes for this file. Fix it.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c