OSDN Git Service

staging: lustre: llite: lower message level for ll_setattr_raw()
authorBobi Jam <bobijam.xu@intel.com>
Sat, 18 Feb 2017 21:47:02 +0000 (16:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:16:59 +0000 (09:16 +0100)
commit1011487fac205bf34ca3081a346b343b9ff7f9fc
treea371bf692299cc6647894982f232a81088ede9b7
parente0ccf5d085ab7393a418e6f6eea50eb686a9b9ad
staging: lustre: llite: lower message level for ll_setattr_raw()

Truncate and write can happen at the same time, so that a file can
be set modified even though the file is not restored from released
state, and ll_hsm_state_set() is not applicable for the file, and
it will return error in this case, we'd lower the error message level
in this case.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6817
Reviewed-on: http://review.whamcloud.com/15541
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c