fs/pipe.c: skip file_update_time on frozen fs
authorDmitry Monakhov <dmonakhov@openvz.org>
Thu, 23 Jan 2014 23:55:21 +0000 (15:55 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Jan 2014 00:37:00 +0000 (16:37 -0800)
commit7e775f46a125f894a1d71e96797c776dbec161f0
tree81ab750ea46bbdb3826173bc4f1095c9a3c7e8e7
parentd643a49ae16c755b3dc2ef897438b7d9c6dd488b
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/pipe.c