X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fllite%2Ffile.c;h=b4c0028c81d2949d9681f3ffe8ec8f92f8a84fd4;hp=f797851547d84b86ee94dd128f3bd6b968210f55;hb=68570176f72515dc10875dcacd7dbdc76dff3eaa;hpb=b9ccecd1453c5c76fe135048c39f149c241650c6 diff --git a/lustre/llite/file.c b/lustre/llite/file.c index f797851..b4c0028 100644 --- a/lustre/llite/file.c +++ b/lustre/llite/file.c @@ -2078,8 +2078,9 @@ int ll_file_flock(struct file *file, int cmd, struct file_lock *file_lock) einfo.ei_mode = LCK_PW; break; default: - CERROR("unknown fcntl lock type: %d\n", file_lock->fl_type); - RETURN (-EINVAL); + CDEBUG(D_INFO, "Unknown fcntl lock type: %d\n", + file_lock->fl_type); + RETURN (-ENOTSUPP); } switch (cmd) {