LSM: Remove unused arguments from security_path_truncate().
[linux-2.6.git] / fs / namei.c
index 868d0cb..fe34c2b 100644 (file)
@@ -1484,8 +1484,7 @@ static int handle_truncate(struct path *path)
         */
        error = locks_verify_locked(inode);
        if (!error)
-               error = security_path_truncate(path, 0,
-                                      ATTR_MTIME|ATTR_CTIME|ATTR_OPEN);
+               error = security_path_truncate(path);
        if (!error) {
                error = do_truncate(path->dentry, 0,
                                    ATTR_MTIME|ATTR_CTIME|ATTR_OPEN,