From: Steven Whitehouse Date: Thu, 16 Jan 2014 10:31:13 +0000 (+0000) Subject: GFS2: Don't use ENOBUFS when ENOMEM is the correct error code X-Git-Tag: v3.14-rc1~140^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac3beb6a5de048e7c0676f630ad2048a7b37b305;p=pandora-kernel.git GFS2: Don't use ENOBUFS when ENOMEM is the correct error code Al Viro has tactfully pointed out that we are using the incorrect error code in some cases. This patch fixes that, and also removes the (unused) return value for glock dumping. > * gfs2_iget() - ENOBUFS instead of ENOMEM. ENOBUFS is > "No buffer space available (POSIX.1 (XSI STREAMS option))" and since > we don't support STREAMS it's probably fair game, but... what the hell? Signed-off-by: Steven Whitehouse Cc: Al Viro --- Reading git-diff-tree failed