]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs/pipe.c: skip file_update_time on frozen fs
authorDmitry Monakhov <dmonakhov@openvz.org>
Fri, 3 Jan 2014 03:10:24 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:24 +0000 (14:10 +1100)
commitbe8a170d79237f09713da357385ed6165ece56b2
treefe496d56652d0557f7597697f54c66ade0cf795e
parentb9eff8d3ea3b87483cbd78c8240ef3b3ad53c72f
fs/pipe.c: skip file_update_time on frozen fs

Pipe has no data associated with fs so it is not good idea to block
pipe_write() if FS is frozen, but we can not update file's time on such
filesystem.  Let's use same idea as we use in touch_time().

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=65701

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/pipe.c