* Compile Error Message {{{ /usr/src/lustre-1.6.6/lustre/llite/rw.c: In function ‘ll_file_lockless_io’: /usr/src/lustre-1.6.6/lustre/llite/rw.c:2134: warning: passing argument 1 of ‘remove_suid’ from incompatible pointer type /usr/src/lustre-1.6.6/lustre/llite/rw.c:2134: error: too many arguments to function ‘remove_suid’ make[6]: *** [/usr/src/lustre-1.6.6/lustre/llite/rw.o] Error 1 }}} * 本來 kernel 的 remove_suid 只有一個參數 -> int remove_suid(struct path *path),但 lustre 的 remove_suid 卻需要兩個參數 * 解決方法 {{{ //將 570行 改成 #define ll_remove_suid(inode,mnt) remove_suid(inode) $ sudo vim lustre/include/linux/lustre_compat25.h 570 #define ll_remove_suid(inode,mnt) remove_suid(inode) }}}